Fixed #9060: Clarified some language in the description of modelformset_factory. Thanks to gsf for the report.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@9023 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Russell Keith-Magee 2008-09-14 08:36:58 +00:00
parent 7931da87ec
commit 7ab3285f64
1 changed files with 3 additions and 3 deletions

View File

@ -411,9 +411,9 @@ working with ``ModelForm`` instances instead of ``Form`` instances::
<tr><th><label for="id_form-0-birth_date">Birth date:</label></th><td><input type="text" name="form-0-birth_date" id="id_form-0-birth_date" /><input type="hidden" name="form-0-id" id="id_form-0-id" /></td></tr>
.. note::
``modelformset_factory`` uses ``formset_factory`` to generate the forms
making model formsets simply an abstraction on top of formsets that knows
about models and how to interact.
``modelformset_factory`` uses ``formset_factory`` to generate formsets.
This means that a model formset is just an extension of a basic formset
that knows how to interact with a particular model.
Changing the queryset
---------------------