diff options
| author | Tim Graham <timograham@gmail.com> | 2014-05-13 20:52:38 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2014-05-13 20:55:05 -0400 |
| commit | e05a6222cd409bbfd9fd060a3913a956014dc4ab (patch) | |
| tree | 7e3b4125020e737a4ee8d55014397f3f73dd5d74 /docs | |
| parent | bff0eb3b24f94831832f89913a4bcc8c3ee94d80 (diff) | |
[1.6.x] Removed an unnecessary anchor in the docs.
Backport of a06808d370 from master
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/ref/contrib/admin/index.txt | 2 | ||||
| -rw-r--r-- | docs/releases/1.2.txt | 5 |
2 files changed, 3 insertions, 4 deletions
diff --git a/docs/ref/contrib/admin/index.txt b/docs/ref/contrib/admin/index.txt index 23abeda5c1..94bdbabbf9 100644 --- a/docs/ref/contrib/admin/index.txt +++ b/docs/ref/contrib/admin/index.txt @@ -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 diff --git a/docs/releases/1.2.txt b/docs/releases/1.2.txt index 9b4e1c7ce0..21043b8039 100644 --- a/docs/releases/1.2.txt +++ b/docs/releases/1.2.txt @@ -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 |
