#4422: django tries to rollback transactions on exceptions when using the dummy
engine
------------------------------------------------------------+---------------
Reporter: Ben Dean-Kawamura <[EMAIL PROTECTED]> | Owner: jacob
Status: new | Component:
Uncategorized
Version: SVN | Keywords:
Stage: Unreviewed | Has_patch: 0
------------------------------------------------------------+---------------
I'm using django, but don't want to use the database part of it. However,
this causes a problem whenever I have an unhandled exception. At the
bottom of django/db/__init__.py, django connects _rollback_on_exception()
to the got_request_exception signal. This means that on every request
exception, transaction.rollback_unless_managed() is called which fails.
Note: I'm not importing the db module, but other django modules seem to do
it.
I think the solution is to not hook up the callback if the dummy engine is
in use.
--
Ticket URL: <http://code.djangoproject.com/ticket/4422>
Django Code <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
-~----------~----~----~----~------~----~------~--~---