#25308: Initial migrations not created if no app provided and
MIGRATION_MODULES[app] overridden
----------------------------+--------------------
Reporter: jsatt | Owner: nobody
Type: Bug | Status: new
Component: Migrations | Version: 1.8
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 0 | UI/UX: 0
----------------------------+--------------------
The makemigrations command will falsely return 'No changed detected.' if
all of the following criteria are met:
* No initial migration exists for the app in question, but models are
defined
* settings.MIGRATION_MODULES is used to change to location of the
migrations for the app in question
* No app is explicitly provided when running the makemigrations management
command
This issue stems from the MigrationQuestioner.ask_initial not respecting
the MIGRATION_MODULES setting.
--
Ticket URL: <https://code.djangoproject.com/ticket/25308>
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/048.0d7e2c63d8ac8f99419c2e54e8f2357c%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.