From d0d3e6792da9e716e547f23dfd44706d2bab3c8e Mon Sep 17 00:00:00 2001 From: Russell Keith-Magee Date: Wed, 12 May 2010 11:56:42 +0000 Subject: Fixed #13524 -- Added backwards compatibility and feature notes regarding admin inlines and formsets. Thanks to Ramiro Morales and Gabriel Hurley. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13241 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- docs/ref/contrib/admin/index.txt | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'docs/ref') diff --git a/docs/ref/contrib/admin/index.txt b/docs/ref/contrib/admin/index.txt index cb87ebb1a2..7f972b224f 100644 --- a/docs/ref/contrib/admin/index.txt +++ b/docs/ref/contrib/admin/index.txt @@ -1053,6 +1053,8 @@ The value for ``form`` defaults to ``ModelForm``. This is what is passed through to ``inlineformset_factory`` when creating the formset for this inline. +.. _ref-contrib-admin-inline-extra: + ``extra`` ~~~~~~~~~ @@ -1062,8 +1064,15 @@ to the initial forms. See the .. versionadded:: 1.2 -Extra forms for inlines will be hidden and replaced with a link to dynamically -add any number of new inlines for users with Javascript enabled. +For users with JavaScript-enabled browsers, an "Add another" link is +provided to enable any number of additional inlines to be added in +addition to those provided as a result of the ``extra`` argument. + +The dynamic link will not appear if the number of currently displayed +forms exceeds ``max_num``, or if the user does not have JavaScript +enabled. + +.. _ref-contrib-admin-inline-max-num: ``max_num`` ~~~~~~~~~~~ -- cgit v1.3