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

404 instead of 500 error for no existing page on mixin #16

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

jperelli
Copy link

@jperelli jperelli commented Aug 4, 2012

To have a clean view from the final user, I added this to have a 404 error page if the page number does not exist instead of a 500 for the paginator mixin class

@mfa
Copy link

mfa commented Apr 11, 2013

+1 for this or any other solution for the EmptyPage raises 500 issue.

@jor123
Copy link

jor123 commented Sep 2, 2013

There are several other issues opened for the same problem.
This one has the best title, so found it first.

#15 has a better solution (and testcases). Would be nice if that one could be pulled and a 1.2.2 be released on pypi...

#13 does about the same, but it changeset doesn't look clean (whitespace/line endings changed?).

#10 also the same solution, but it only removes 1 of the exception classes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants