Fixed #25384 -- Ordered imports in newly created migration files

Partial forwardport of 3cc5cc7958 from
stable/1.8.x as the issue was already fixed in master in
a7bc00e17b
This commit is contained in:
Markus Holtermann 2015-09-12 12:04:27 +10:00
parent 2b98034fbb
commit 84b0a8d2aa
1 changed files with 3 additions and 0 deletions

View File

@ -26,3 +26,6 @@ Bugfixes
* Fixed autocompletion for options of non-``argparse`` management commands
(:ticket:`25372`).
* Alphabetized ordering of imports in ``from django.db import migrations,
models`` statement in newly created migrations (:ticket:`25384`).