Opened 11 years ago

Closed 10 years ago

Last modified 10 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

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)

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

Download all attachments as: .zip

Change History (4)

by Jani Tiainen, 11 years ago

Attachment: django-20873.tar.gz added

Test case

comment:1 by Ramiro Morales, 11 years ago

Triage Stage: UnreviewedAccepted

comment:2 by Claude Paroz, 10 years ago

Resolution: fixed
Status: newclosed

comment:3 by Aymeric Augustin, 10 years ago

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