#13265: TransactionManagementError doesn't allow for easy debugging of views
------------------------------------------+---------------------------------
Reporter: orokusaki | Owner: nobody
Status: new | Milestone:
Component: Database layer (models, ORM) | Version: SVN
Keywords: | Stage: Unreviewed
Has_patch: 0 |
------------------------------------------+---------------------------------
When using {{{ @transaction.commit_manually }}} on a view, if an exception
is not caught in the view, and thus {{{ transaction.rollback() }}} is not
used, TransactionManagementError() is raised. When this happens, the stack
trace is very bare and it is nearly impossible to figure out what happened
without removing manual transaction management from that view.
--
Ticket URL: <http://code.djangoproject.com/ticket/13265>
Django <http://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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.