diff options
| author | Tim Graham <timograham@gmail.com> | 2013-07-08 08:29:28 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2013-07-08 08:31:46 -0400 |
| commit | cf8d0933cb5bba3ce869f55cd423054d9c128956 (patch) | |
| tree | 2020949f80735f47f7b32c862e3c70b824ac9ce4 /docs/ref/contrib/admin | |
| parent | 0a84cbadb76c353d6cedeef9e6b97a9d32c60635 (diff) | |
[1.6.x] Fixed #12346 -- Added a note on how to validate InlineFormSets.
Thanks johnsmith for the suggestion.
Backport of 181f63c22d from master
Diffstat (limited to 'docs/ref/contrib/admin')
| -rw-r--r-- | docs/ref/contrib/admin/index.txt | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/docs/ref/contrib/admin/index.txt b/docs/ref/contrib/admin/index.txt index 70db52941c..a22a51e8fb 100644 --- a/docs/ref/contrib/admin/index.txt +++ b/docs/ref/contrib/admin/index.txt @@ -1713,9 +1713,9 @@ The ``InlineModelAdmin`` class adds: .. attribute:: InlineModelAdmin.formset - This defaults to ``BaseInlineFormSet``. Using your own formset can give you - many possibilities of customization. Inlines are built around - :ref:`model formsets <model-formsets>`. + This defaults to :class:`~django.forms.models.BaseInlineFormSet`. Using + your own formset can give you many possibilities of customization. Inlines + are built around :ref:`model formsets <model-formsets>`. .. attribute:: InlineModelAdmin.form @@ -1791,8 +1791,9 @@ The ``InlineModelAdmin`` class adds: .. method:: InlineModelAdmin.get_formset(self, request, obj=None, **kwargs) - Returns a ``BaseInlineFormSet`` class for use in admin add/change views. - See the example for :class:`ModelAdmin.get_formsets`. + Returns a :class:`~django.forms.models.BaseInlineFormSet` class for use in + admin add/change views. See the example for + :class:`ModelAdmin.get_formsets`. .. method:: InlineModelAdmin.get_extra(self, request, obj=None, **kwargs) |
