-
-
Notifications
You must be signed in to change notification settings - Fork 6.9k
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
Mark for transaction rollback after APIException occurs. #1787
Conversation
Okay this'd need the
(And the following in compat...)
However, fails with |
Actually note that the two additional queries are the savepoint and release.
...and...
|
I'm actually not convinced this is exactly the right thing to do in any case. It does look to me like we're probably not respecting |
To be more specific, not respecting |
Dropping the 2.4 milestone from this - what the desired behavior actually should be is not as clear cut as first assumed. |
According to https://docs.djangoproject.com/en/dev/releases/1.6/#savepoints-and-assertnumqueries, I monkey-patched So I am thinking maybe we can provide another |
Closing in favour of issue #2034 as I don't think this PR takes the right approach. Needs more consideration. |
Superseeds #1204.
Could do with either an integration test, or a nice clear example from someone of currently failing behaviour with steps to replicate.