diff options
| author | P.A. SCHEMBRI <pa.schembri@netsach.com> | 2014-10-29 16:31:40 +0100 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2014-10-29 13:39:24 -0400 |
| commit | aa9e90d8490a1d514b5b4f0bdd232891aa29aaec (patch) | |
| tree | 7c2c231cba7dcb1ac7534f631549f68902819ebd /docs/ref | |
| parent | deb11b0edf0bde7408748682a8ba49bff5fbef3e (diff) | |
[1.6.x] Added cross reference in admin docs to topic about saving objects in formsets.
Backport of 388c6038fd from master
Diffstat (limited to 'docs/ref')
| -rw-r--r-- | docs/ref/contrib/admin/index.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/ref/contrib/admin/index.txt b/docs/ref/contrib/admin/index.txt index e8fb1dd42e..59c336b2a5 100644 --- a/docs/ref/contrib/admin/index.txt +++ b/docs/ref/contrib/admin/index.txt @@ -1136,7 +1136,7 @@ templates used by the :class:`ModelAdmin` views: ``ModelForm`` instance and a boolean value based on whether it is adding or changing the parent object. - For example to attach ``request.user`` to each changed formset + For example, to attach ``request.user`` to each changed formset model instance:: class ArticleAdmin(admin.ModelAdmin): @@ -1147,6 +1147,8 @@ templates used by the :class:`ModelAdmin` views: instance.save() formset.save_m2m() + See also :ref:`saving-objects-in-the-formset`. + .. method:: ModelAdmin.get_ordering(request) The ``get_ordering`` method takes a``request`` as parameter and |
