#17341: Model.save() commits transactions after every parent class save
-------------------------------------+-------------------------------------
     Reporter:  akaariai             |                    Owner:
         Type:  Bug                  |                   Status:  new
    Component:  Database layer       |                  Version:  1.3
  (models, ORM)                      |               Resolution:
     Severity:  Normal               |             Triage Stage:  Accepted
     Keywords:                       |      Needs documentation:  0
    Has patch:  1                    |  Patch needs improvement:  1
  Needs tests:  0                    |                    UI/UX:  0
Easy pickings:  0                    |
-------------------------------------+-------------------------------------
Changes (by aaugustin):

 * status:  assigned => new
 * needs_better_patch:  0 => 1
 * owner:  aaugustin =>


Comment:

 The patch needs to be rewritten with `transaction.atomic`.

 Unfortunately it's moving a lot of code around and I can't see exactly
 where to inject the `atomic` wrapper.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/17341#comment:9>
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 django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to