mirror of https://github.com/django/django.git
Replaced reference to ModelAdmin.get_formsets() (deprecated) with get_formsets_with_inlines().
This commit is contained in:
parent
0399523cf1
commit
ac9c7701a7
|
@ -2031,7 +2031,7 @@ The ``InlineModelAdmin`` class adds:
|
||||||
|
|
||||||
Returns a :class:`~django.forms.models.BaseInlineFormSet` class for use in
|
Returns a :class:`~django.forms.models.BaseInlineFormSet` class for use in
|
||||||
admin add/change views. See the example for
|
admin add/change views. See the example for
|
||||||
:class:`ModelAdmin.get_formsets`.
|
:class:`ModelAdmin.get_formsets_with_inlines`.
|
||||||
|
|
||||||
.. method:: InlineModelAdmin.get_extra(request, obj=None, **kwargs)
|
.. method:: InlineModelAdmin.get_extra(request, obj=None, **kwargs)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue