-
Notifications
You must be signed in to change notification settings - Fork 298
Use "ObjectDoesNotExist" from model_class #683
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
Conversation
Codecov Report
@@ Coverage Diff @@ ## master #683 +/- ## ========================================== + Coverage 95.96% 95.98% +0.01% ========================================== Files 54 54 Lines 2728 2737 +9 ========================================== + Hits 2618 2627 +9 Misses 110 110
Continue to review full report at Codecov.
|
The change looks good. Could you follow up on the other points on the check list (especially writing a test)? Thanks.
065e777
to
cbcb6e2
Compare
@sliverc anymore blockers ?
cbcb6e2
to
7c6cceb
Compare
Mistakenly pushed the wrong branch when updating the PR with a changelog entry.
Change looks good though so I have opened another PR #690 including these changes.
Uh oh!
There was an error while loading. Please reload this page.
Fixes #
Description of the Change
Looks like
ObjectDoesNotExist
is not imported in the module and it fails wheneverreturn self.model_class.objects.get(pk=pk)
raises an exceptionChecklist
CHANGELOG.md
updated (only for user relevant changes)AUTHORS