#5735: transaction for newforms-admin
---------------------------+------------------------------------------------
Reporter: Honza_Kral | Owner: nobody
Status: new | Component: Uncategorized
Version: newforms-admin | Keywords: admin transaction
Stage: Unreviewed | Has_patch: 1
---------------------------+------------------------------------------------
When I try and save some object in admin that has some edit_inline and
some error occurs while saving those, the DB is inconsistent - the main
object exists, as well as some of the inline objects, but not all of them.
Would it break anything to wrap {{{save_change}}} and {{{save_add}}} in
{{{django.db.transaction.commit_on_success}}}?
--
Ticket URL: <http://code.djangoproject.com/ticket/5735>
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
-~----------~----~----~----~------~----~------~--~---