Opened 4 years ago

Closed 4 years ago

Last modified 4 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 Changed 4 years ago by Tim Graham

Triage Stage: AcceptedReady for checkin

comment:2 Changed 4 years ago by Simon Charette <charette.s@…>

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 Changed 4 years ago by Simon Charette <charette.s@…>

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