#26135: The migrate command with `--run-syncdb` crash if an application's
migrations are disabled by setting MODULE_MIGRATIONS[app_label] = None
-------------------------------------+-------------------------------------
     Reporter:  charettes            |                    Owner:  nobody
         Type:  Bug                  |                   Status:  closed
    Component:  Migrations           |                  Version:  1.9
     Severity:  Release blocker      |               Resolution:  fixed
     Keywords:                       |             Triage Stage:  Ready for
                                     |  checkin
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by Simon Charette <charette.s@…>):

 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"4dcaa5871b70859952c6f9c437dfe1b5f10509f2" 4dcaa587]:
 {{{
 #!CommitTicketReference repository=""
 revision="4dcaa5871b70859952c6f9c437dfe1b5f10509f2"
 Fixed #26135 -- Adjusted the migration questioner's handling of disabled
 apps.

 This was causing an issue when calling the `migrate` command in a test
 case with
 the `available_apps` attribute pointing to an application with migrations
 disabled using the `MIGRATION_MODULES` setting.

 Thanks to Tim Graham for the review.

 Refs #24919
 }}}

--
Ticket URL: <https://code.djangoproject.com/ticket/26135#comment:2>
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/067.e7db95e95cbdc3dabef568eba0fd861c%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to