#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 obayemi):
I agree that the workflow could be better without the post_save, but it
ease the dev a lot IMHO
that way we can't forget to call the handler everywhere the Models can be
created and it is simpler to think, (these will be always be called at
creation, don't need to think about it (isn't this why signals are
implemented anyway?))
--
Ticket URL: <https://code.djangoproject.com/ticket/29557#comment:7>
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/065.736617032ff558c2c1d06de744cf26bf%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.