﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
3678	BaseForm loses field sorting	Chris Beaven	Adrian Holovaty	"Came across this in a project just now when I had overridden `BaseForm` for a special form of my own. The fields were coming out in a different order from what I had specified.

The reason is that the `__init__` of `BaseForm` does:
{{{
#!python
self.fields = self.base_fields.copy()
}}}
Even if `base_fields` is a `SortedDict`, `.copy()` is just the normal dict function so fields becomes a `dict` class and loses field sorting.

Simple patch attached."		closed	Forms	dev		fixed			Ready for checkin	1	0	0	0	0	0
