#20873 closed Bug (fixed)
Model options assumes incorrectly that model classes resides in models-module
Reported by: | Jani Tiainen | Owned by: | nobody |
---|---|---|---|
Component: | Database layer (models, ORM) | Version: | 1.5 |
Severity: | Normal | Keywords: | app-loading |
Cc: | Triage Stage: | Accepted | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
If you use splitted models, like having a models in submodules of models Model._meta.installed will get always false.
Models installed in app/models.py will get correctly Model._meta.installed flag set as a True.
Attachments (1)
Change History (4)
by , 11 years ago
Attachment: | django-20873.tar.gz added |
---|
comment:1 by , 11 years ago
Triage Stage: | Unreviewed → Accepted |
---|
Thanks jtiai for the report and test case.
comment:2 by , 11 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:3 by , 11 years ago
Keywords: | app-loading added |
---|
Note:
See TracTickets
for help on using tickets.
Test case