﻿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
27986	Change BaseModelForm dictionary variable object_data to be OrderedDict	Edvinas Jurevicius	nobody	"Can we change dictionary variable `object_data` to be OrderedDict this would help if we pass initial data as OrderedDict and want to loop through initial form values to be in the same order?


{{{
In [4]: initial
Out[4]: OrderedDict([(u'id', u'111'), (u'category', u'1'), (u'title', u'Chief Executives and Senior Officials')])

In [5]: object_data = OrderedDict()

In [6]: object_data.update(initial)

In [7]: object_data
Out[7]: OrderedDict([(u'id', u'111'), (u'category', u'1'), (u'title', u'Chief Executives and Senior Officials')])
}}}


https://github.com/django/django/blob/master/django/forms/models.py#L280"	Cleanup/optimization	closed	Forms	1.10	Normal	invalid	BaseModelForm, object_data, OrderedDict		Unreviewed	0	0	0	0	0	0
