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:18 -0400 |
| commit | 92628cc98205373480d162634a13136e02a97bec (patch) | |
| tree | 7641acc8fe0e96700bcf03bec60dda1854b22558 /docs/ref | |
| parent | 21358e72253aac0d26af0cff2f597c1ab7bf151c (diff) | |
[1.7.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 1dd302ae9e..39635629ba 100644 --- a/docs/ref/contrib/admin/index.txt +++ b/docs/ref/contrib/admin/index.txt @@ -1261,7 +1261,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): @@ -1272,6 +1272,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 |
