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

Add and use a NotFound version of get_object_or_404 #282

Open
legau opened this issue Apr 8, 2024 · 0 comments
Open

Add and use a NotFound version of get_object_or_404 #282

legau opened this issue Apr 8, 2024 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@legau
Copy link
Contributor

legau commented Apr 8, 2024

To behave more closely to DRF, we should have our own get_object_or_404 returning a NotFound exception. For now it is caught in Service.get_object.

@legau legau added enhancement New feature or request good first issue Good for newcomers labels Apr 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant