#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
-------------------------------------+-------------------------------------
Comment (by Simon Charette <charette.s@…>):
In [changeset:"abdbf00815ae8f49247082528d02a3d0890785a9" abdbf00]:
{{{
#!CommitTicketReference repository=""
revision="abdbf00815ae8f49247082528d02a3d0890785a9"
[1.9.x] 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
Backport of 4dcaa5871b70859952c6f9c437dfe1b5f10509f2 from master
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/26135#comment:3>
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.c53c8eab02a3568aaf69215e4fb58195%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.