#26323: TransactionManagementError is raised when autocommit is false
-------------------------------+--------------------
Reporter: tltx | Owner: nobody
Type: Bug | Status: new
Component: Uncategorized | Version: master
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------
TransactionManagementError: "An error occurred in the current transaction.
You can't execute queries until the end of the 'atomic' block." is raised
when you try to used a database connection after a database exception
even those autocommit was set to false from the start. It should be up to
the user how to handle the database exception and the transaction as
autocommit was set to false.
--
Ticket URL: <https://code.djangoproject.com/ticket/26323>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/047.1bca7e3b533078811268a64ef71097b4%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.