Changes between Version 1 and Version 7 of Ticket #25384


Ignore:
Timestamp:
09/11/2015 09:26:14 PM (5 years ago)
Author:
Markus Holtermann
Comment:

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

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #25384

    • Property Has patch set
    • Property Triage Stage changed from Unreviewed to Accepted
  • 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