#24703: Use MigrationLoader in squashmigrations
--------------------------------------+--------------------
     Reporter:  knbk                  |      Owner:  nobody
         Type:  Cleanup/optimization  |     Status:  new
    Component:  Migrations            |    Version:  master
     Severity:  Normal                |   Keywords:
 Triage Stage:  Unreviewed            |  Has patch:  1
Easy pickings:  1                     |      UI/UX:  0
--------------------------------------+--------------------
 Just a small thing I noticed: squashmigrations creates a
 `MigrationExecutor`, but only ever uses the `executor.loader` attribute.
 It would be cleaner to directly use a `MigrationLoader`, same as in
 `makemigrations` and `showmigrations`.

--
Ticket URL: <https://code.djangoproject.com/ticket/24703>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/047.5c8a5d4a007dc410bcc3bd0eea8763e8%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to