Opened 2 years ago

Closed 19 months ago

Last modified 19 months ago

#20873 closed Bug (fixed)

Model options assumes incorrectly that model classes resides in models-module

Reported by: jtiai 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 jtiai 2 years ago.
Test case

Download all attachments as: .zip

Change History (4)

Changed 2 years ago by jtiai

Test case

comment:1 Changed 2 years ago by ramiro

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Accepted

comment:2 Changed 19 months ago by claudep

  • Resolution set to fixed
  • Status changed from new to closed

comment:3 Changed 19 months ago by aaugustin

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