Changeset - fa66316f8aca
0
1
0
form key ordering: detect django version
- Django 1.6 and before use SortedDict instead of OrderedDict
It detect version and return proper dict for key ordering.
- field deletion is done by reorder funcion.
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
- Django 1.6 and before use SortedDict instead of OrderedDict
It detect version and return proper dict for key ordering.
- field deletion is done by reorder funcion.
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
1 file changed with 8 insertions and 2 deletions:
0 comments (0 inline, 0 general)
0 comments (0 inline, 0 general)