Skip to content

Commit

Permalink
[1.6.x] Removed an unnecessary anchor in the docs.
Browse files Browse the repository at this point in the history
Backport of a06808d from master
  • Loading branch information
timgraham committed May 14, 2014
1 parent bff0eb3 commit e05a622
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 0 additions & 2 deletions docs/ref/contrib/admin/index.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1761,8 +1761,6 @@ The ``InlineModelAdmin`` class adds:
:meth:`InlineModelAdmin.get_extra` also allows you to customize the number
of extra forms.

.. _ref-contrib-admin-inline-max-num:

.. attribute:: InlineModelAdmin.max_num

This controls the maximum number of forms to show in the inline. This
Expand Down
5 changes: 3 additions & 2 deletions docs/releases/1.2.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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.models.modelformset_factory()
<model-formsets-max-num>` functions has changed slightly. This
change also affects the way the ``max_num`` argument is :ref:`used for
inline admin objects <ref-contrib-admin-inline-max-num>`
change also affects the way the
:attr:`~django.contrib.admin.InlineModelAdmin.max_num` argument is used for
inline admin objects.

Previously, the default value for ``max_num`` was ``0`` (zero).
FormSets then used the boolean value of ``max_num`` to determine if a
Expand Down

0 comments on commit e05a622

Please sign in to comment.