Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with actions in listing screen. #408

Open
girase1pranay opened this issue Sep 16, 2024 · 0 comments
Open

Issue with actions in listing screen. #408

girase1pranay opened this issue Sep 16, 2024 · 0 comments
Labels

Comments

@girase1pranay
Copy link

girase1pranay commented Sep 16, 2024

Python: 3.11
Django: 5.0.4

In admin change list, "move_to_exact_page", "move_to_back_page", "move_to_forward_page" if we select any of this action, new input field renders which accepts number. But if we don't give any input to the field then it is raising exception as follows:

invalid literal for int() with base 10: ''

as in admin.py line no.379 it is written as

step = int(request.POST.get('step'),1)

here, request.POST.get('step',1) will always returns '' (blank string) if no value passed to the input field.

** same on admin.py line no.376

@jrief jrief added the bug label Sep 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants