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:54:32 -0400 |
| commit | a06808d370ab2216562720efde1fd3e4f85486ad (patch) | |
| tree | 0b17da3fccb4b3bfa709b9d9e8f74bd3d0c47659 | |
| parent | 1165e9992ee83a7706a6cc2f6fd3e2e31cacc97c (diff) | |
Removed an unnecessary anchor in the 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 9890dd7135..1a02d3fc3b 100644 --- a/docs/ref/contrib/admin/index.txt +++ b/docs/ref/contrib/admin/index.txt @@ -1957,8 +1957,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 b728e3bfe4..e59fb075c9 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 |
