Opened 5 years ago

Closed 4 years ago

Last modified 4 years ago

#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


If you use splitted models, like having a models in submodules of models Model._meta.installed will get always false.

Models installed in app/ will get correctly Model._meta.installed flag set as a True.

Attachments (1)

django-20873.tar.gz (5.2 KB) - added by Jani Tiainen 5 years ago.
Test case

Download all attachments as: .zip

Change History (4)

Changed 5 years ago by Jani Tiainen

Attachment: django-20873.tar.gz added

Test case

comment:1 Changed 5 years ago by Ramiro Morales

Triage Stage: UnreviewedAccepted

comment:2 Changed 4 years ago by Claude Paroz

Resolution: fixed
Status: newclosed

comment:3 Changed 4 years ago by Aymeric Augustin

Keywords: app-loading added
Note: See TracTickets for help on using tickets.
Back to Top