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

some views return an internal server error instead of a 404 #158

Open
wolfskaempf opened this issue Apr 12, 2017 · 1 comment
Open

some views return an internal server error instead of a 404 #158

wolfskaempf opened this issue Apr 12, 2017 · 1 comment

Comments

@wolfskaempf
Copy link
Member

All views should use proper exception handling if the resource a user tries to access does not exist.

@wolfskaempf
Copy link
Member Author

I realised #161 is essentially a duplicate issue.

Solution for most cases: use get_or_404() instead of get()

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

No branches or pull requests

2 participants