#16115: New hook to allow change objects after all inline formsets have been
saved
---------------------------------------+-------------------------------
Reporter: igors | Owner: igors
Type: New feature | Status: assigned
Milestone: | Component: contrib.admin
Version: SVN | Severity: Normal
Resolution: | Keywords:
Triage Stage: Accepted | Has patch: 1
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
---------------------------------------+-------------------------------
Comment (by julien):
Thank you for your patch. I've made a number of modifications to it:
* Renamed the hook to `save_related()`.
* Took the call to `save_model()` out of that hook so that it focuses
solely on form/formset saving business.
* Removed the test that was in `regressiontests.modeladmin` as it was
testing internal implementation details, which is best to avoid doing. The
other test verifies the external behaviour, which is enough here.
* Tweaked the doc and added release notes.
Please take a look and see whether this addresses your original request.
Thanks.
--
Ticket URL: <https://code.djangoproject.com/ticket/16115#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 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.