-
-
Notifications
You must be signed in to change notification settings - Fork 339
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
Fix double EXPLAIN when calling explain on queryset #654
base: master
Are you sure you want to change the base?
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #654 +/- ##
==========================================
+ Coverage 87.10% 87.27% +0.16%
==========================================
Files 52 52
Lines 2141 2146 +5
==========================================
+ Hits 1865 1873 +8
+ Misses 276 273 -3 ☔ View full report in Codecov by Sentry. |
10e8b7b
to
2485450
Compare
2485450
to
e5f77ca
Compare
for more information, see https://pre-commit.ci
Hey, I just encountered this issue too. I think the changes look good but test coverage is failing. I can help you add some unit tests if you'd like @stereodamage. |
@pawelzar that would be nice of you, I appreciate that. Didn't really had much time to look into it again and write new test myself. Anything needed from my side? |
5bf2ff4
to
15d47d6
Compare
15d47d6
to
98da0db
Compare
@pawelzar finally found some time to fix tests and review changes, looks good now for me, can you take a look as well? |
Closes #597, #650.
There's also an idea to wrap call to database into
try..except
and throw something likeProgrammingError
(according to PEP 249) or custom error based on ProgrammingError.