summaryrefslogtreecommitdiff
path: root/docs/topics/forms/modelforms.txt
diff options
context:
space:
mode:
authorRussell Keith-Magee <russell@keith-magee.com>2009-03-15 11:21:41 +0000
committerRussell Keith-Magee <russell@keith-magee.com>2009-03-15 11:21:41 +0000
commit0597dea4d0cbf20a4b815f586ba1babccda93e2e (patch)
tree9d1d042475efeeec2a7c105a26389cb9ecb24cf6 /docs/topics/forms/modelforms.txt
parentb994387d8d9ff3b19d3ab04d3b4ac69d5dd68ea2 (diff)
Fixed #10507 -- Corrected formatting problem in ModelForm docs. Thanks to Paul Menzel for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10064 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/topics/forms/modelforms.txt')
-rw-r--r--docs/topics/forms/modelforms.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/topics/forms/modelforms.txt b/docs/topics/forms/modelforms.txt
index f424fb9b60..f4a1c6d9a2 100644
--- a/docs/topics/forms/modelforms.txt
+++ b/docs/topics/forms/modelforms.txt
@@ -340,10 +340,10 @@ parameter when declaring the form field::
Changing the order of fields
----------------------------
-By default, a ``ModelForm`` will render fields in the same order that
-they are defined on the model, with ``ManyToManyField``s appearing last.
-If you want to change the order in which fields are rendered, you can
-use the ``fields`` attribute on the ``Meta`` class.
+By default, a ``ModelForm`` will render fields in the same order that they are
+defined on the model, with ``ManyToManyField`` instances appearing last. If
+you want to change the order in which fields are rendered, you can use the
+``fields`` attribute on the ``Meta`` class.
The ``fields`` attribute defines the subset of model fields that will be
rendered, and the order in which they will be rendered. For example given this