From 0597dea4d0cbf20a4b815f586ba1babccda93e2e Mon Sep 17 00:00:00 2001 From: Russell Keith-Magee Date: Sun, 15 Mar 2009 11:21:41 +0000 Subject: [PATCH] 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 --- docs/topics/forms/modelforms.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/topics/forms/modelforms.txt b/docs/topics/forms/modelforms.txt index f424fb9b60bc0..f4a1c6d9a282b 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