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

Custom Exceptions break Class Based Views #15

Closed
wants to merge 5 commits into from
Closed

Custom Exceptions break Class Based Views #15

wants to merge 5 commits into from

Conversation

lpetre
Copy link

@lpetre lpetre commented Jul 9, 2012

Copying the Django exceptions verbatim has the side effect of breaking the 404 handling in class based views.

I've included a test case which shows this.

Although it seems a little counter intuitive, it seems to me that using the django pagination exceptions makes this library more compatible as a drop-in replacement.

@sibson
Copy link

sibson commented Mar 20, 2014

We've just hit this problem. As mentioned in #16 (comment) this seems to be the best PR

@lpetre lpetre closed this Aug 21, 2019
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.

2 participants