#25765: makemigrations and app_label are incompatible
-------------------------------+--------------------
Reporter: ograycode | Owner: nobody
Type: Uncategorized | Status: new
Component: Uncategorized | Version: 1.8
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------
Repo steps:
* Create a new app called "testapp"
* Add one model to the models.py with a meta class and app_label which
are different then your current one.
* Run "manage.py makemigrations testapp"
On the third step, it will state that there are no changes. If you remove
the custom app_label and run makemigrations again it will pick up on the
new model. If you change app_label once again, it will see that as a
deletion of the model.
I believe that it should either be explicitly documented, or that
app_label should have no bearing on makemigrations.
--
Ticket URL: <https://code.djangoproject.com/ticket/25765>
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/052.9876c0c5a4c02120742ad5d960f181f2%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.