﻿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
25384	New Migrations Generated with Improperly Sorted Imports	jambonrose	nobody	"New migration files are generated with the following line of code (found in the `django/db/migrations/writer.py` file):
{{{
    from django.db import models, migrations
}}}
Anytime [https://pypi.python.org/pypi/isort isort] is run on a migration file (for example, for data migrations), it will reorder the import to:
{{{
    from django.db import migrations, models
}}}
It would be great if we were generating properly sorted documents."	Cleanup/optimization	closed	Migrations	1.8	Normal	fixed			Accepted	1	0	0	0	1	0
