djangosnippets.org: Latest snippets tagged with 'field-order'http://djangosnippets.org/tags/field-order/2008-05-16T06:44:32.617956-05:00Reorder fields directly in the ModelForm
2008-05-16T06:44:32.617956-05:00HMhttp://djangosnippets.org/snippets/759/<p>Sometimes the order of the fields you get from a model needs to be adjusted when displaying its modelform. If it's just a few fields you can do it in the template, but what if you want to iterate over the form?</p>
<p>The fields are stored in a SortedDict, so …</p>
Freely redistributable