Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#26135 closed Bug (fixed)

The migrate command with `--run-syncdb` crash if an application's migrations are disabled by setting MODULE_MIGRATIONS[app_label] = None

Reported by: Simon Charette Owned by: nobody
Component: Migrations Version: 1.9
Severity: Release blocker Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

PR

Refs #24919.

Change History (3)

comment:1 by Tim Graham, 9 years ago

Triage Stage: AcceptedReady for checkin

comment:2 by Simon Charette <charette.s@…>, 9 years ago

Resolution: fixed
Status: newclosed

In 4dcaa587:

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

comment:3 by Simon Charette <charette.s@…>, 9 years ago

In abdbf00:

[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

Note: See TracTickets for help on using tickets.
Back to Top