Changes between Version 1 and Version 7 of Ticket #25384


Ignore:
Timestamp:
Sep 11, 2015, 9:26:14 PM (9 years ago)
Author:
Markus Holtermann
Comment:

PR: https://github.com/django/django/pull/5274

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #25384

    • Property Triage Stage UnreviewedAccepted
    • Property Has patch set
  • Ticket #25384 – Description

    v1 v7  
    11New migration files are generated with the following line of code (found in the `django/db/migrations/writer.py` file):
    2 
     2{{{
    33    from django.db import models, migrations
    4 
     4}}}
    55Anytime [https://pypi.python.org/pypi/isort isort] is run on a migration file (for example, for data migrations), it will reorder the import to:
    6 
     6{{{
    77    from django.db import migrations, models
    8 
     8}}}
    99It would be great if we were generating properly sorted documents.
Back to Top