#22331 closed Bug (fixed)
Migrations do not ignore unmanaged models (unlike syncdb)
Reported by: | Tim Graham | Owned by: | nobody |
---|---|---|---|
Component: | Migrations | Version: | 1.7-alpha-2 |
Severity: | Release blocker | Keywords: | |
Cc: | loic@… | Triage Stage: | Accepted |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
Migrations do not ignore unmanaged models. To reproduce, simply add:
class Meta: managed=False
to the models in the tutorial and then
python manage.py makemigrations polls python manage.py migrate
You will see tables are created for these models unlike doing the same and running syncdb
.
Change History (6)
comment:1 by , 11 years ago
Cc: | added |
---|---|
Has patch: | set |
comment:2 by , 11 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
PR https://github.com/django/django/pull/2474.