Work around issue 10827
Work around Django [issue 10827](https://code.djangoproject.com/ticket/10827)
- workaround
Work around Django [issue 10827](https://code.djangoproject.com/ticket/10827)
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? The fields are stored in a SortedDict, so you can change the order in the __init__ of the form. A bit clunky, yes.
2 snippets posted so far.