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:37:52 -0400 |
| commit | 388c6038fdc7ce1d1314b1ffdf5943807f123977 (patch) | |
| tree | 2f5629d04297d7561d74c0ca26986edf5e3b5c99 /docs | |
| parent | 5c9c1e029d139bd3d5213804af2ed9f317cd0b86 (diff) | |
Added cross reference in admin docs to topic about saving objects in formsets.
Diffstat (limited to 'docs')
| -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 263831ba96..51d7c34022 100644 --- a/docs/ref/contrib/admin/index.txt +++ b/docs/ref/contrib/admin/index.txt @@ -1276,7 +1276,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): @@ -1287,6 +1287,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 |
