#23305: Models that are imported on app's import time are invisible to
makemigrations when the application is relabeld
----------------------------+--------------------------------------
Reporter: rafalp | Owner: nobody
Type: Bug | Status: new
Component: Migrations | Version: 1.7-rc-2
Severity: Normal | Resolution:
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
----------------------------+--------------------------------------
Changes (by andrewgodwin):
* severity: Release blocker => Normal
Comment:
OK, I'm going to demote this from release blocker, as it's a combination
of two unusual things that there's an easy recovery from (setting
app_label in the model's Meta field, or just not doing the imports in
__init__)
In particular, by importing the models before the app's initialised,
you're doing something that we've already started down a deprecation path,
and it's complex enough to fix this bug that it's going to potentially
cause more problems than it solves for the 1.7 release.
--
Ticket URL: <https://code.djangoproject.com/ticket/23305#comment:12>
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/064.b166bfb4ab4b0510418a7d35c95e1fe3%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.