Author: russellm Date: 2009-03-15 06:21:41 -0500 (Sun, 15 Mar 2009) New Revision: 10064
Modified: django/trunk/docs/topics/forms/modelforms.txt Log: Fixed #10507 -- Corrected formatting problem in ModelForm docs. Thanks to Paul Menzel for the report. Modified: django/trunk/docs/topics/forms/modelforms.txt =================================================================== --- django/trunk/docs/topics/forms/modelforms.txt 2009-03-15 05:54:28 UTC (rev 10063) +++ django/trunk/docs/topics/forms/modelforms.txt 2009-03-15 11:21:41 UTC (rev 10064) @@ -340,10 +340,10 @@ 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 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to django-updates@googlegroups.com To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-updates?hl=en -~----------~----~----~----~------~----~------~--~---