#29557: add on_commit decorator
-------------------------------------+-------------------------------------
     Reporter:  obayemi              |                    Owner:  nobody
         Type:  New feature          |                   Status:  new
    Component:  Database layer       |                  Version:  master
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:
     Keywords:  transaction          |             Triage Stage:
  on_commit decorator                |  Unreviewed
    Has patch:  1                    |      Needs documentation:  1
  Needs tests:  1                    |  Patch needs improvement:  0
Easy pickings:  1                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by Carlton Gibson):

 Hmmm. OK. I see. My immediate thought there is that you would be MUCH
 better avoiding the post save signal and just using the on_commit hook
 straight-forwardly. The control flow would be significantly clearer.

 I'm inclined towards closing this as `wontfix` on that basis. I'll leave
 some time for others to comment though.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/29557#comment:6>
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/065.a08312a475ffc3212859f9aaaecb4e55%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to