mirror of https://github.com/django/django.git
Removed an unnecessary anchor in the docs.
This commit is contained in:
parent
1165e9992e
commit
a06808d370
|
@ -1957,8 +1957,6 @@ The ``InlineModelAdmin`` class adds:
|
||||||
:meth:`InlineModelAdmin.get_extra` also allows you to customize the number
|
:meth:`InlineModelAdmin.get_extra` also allows you to customize the number
|
||||||
of extra forms.
|
of extra forms.
|
||||||
|
|
||||||
.. _ref-contrib-admin-inline-max-num:
|
|
||||||
|
|
||||||
.. attribute:: InlineModelAdmin.max_num
|
.. attribute:: InlineModelAdmin.max_num
|
||||||
|
|
||||||
This controls the maximum number of forms to show in the inline. This
|
This controls the maximum number of forms to show in the inline. This
|
||||||
|
|
|
@ -721,8 +721,9 @@ value and interpretation of the ``max_num`` parameter to the
|
||||||
:ref:`django.forms.formsets.formset_factory() <formsets-max-num>` and
|
:ref:`django.forms.formsets.formset_factory() <formsets-max-num>` and
|
||||||
:ref:`django.forms.models.modelformset_factory()
|
:ref:`django.forms.models.modelformset_factory()
|
||||||
<model-formsets-max-num>` functions has changed slightly. This
|
<model-formsets-max-num>` functions has changed slightly. This
|
||||||
change also affects the way the ``max_num`` argument is :ref:`used for
|
change also affects the way the
|
||||||
inline admin objects <ref-contrib-admin-inline-max-num>`
|
:attr:`~django.contrib.admin.InlineModelAdmin.max_num` argument is used for
|
||||||
|
inline admin objects.
|
||||||
|
|
||||||
Previously, the default value for ``max_num`` was ``0`` (zero).
|
Previously, the default value for ``max_num`` was ``0`` (zero).
|
||||||
FormSets then used the boolean value of ``max_num`` to determine if a
|
FormSets then used the boolean value of ``max_num`` to determine if a
|
||||||
|
|
Loading…
Reference in New Issue