Opened 10 years ago

Last modified 10 years ago

#23358 closed Uncategorized

migrations — at Initial Version

Reported by: Raffaele Salmaso Owned by: nobody
Component: Migrations Version: dev
Severity: Normal Keywords:
Cc: raffaele.salmaso@… Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

I've a project with this layout

project
project.myapp
... # other apps

project and project.myapp have both models.py
project.myapp.models has MyModel defined

If I have
INSTALLED_APPS = (

'project.myapp',
'project',

)
django recognize project.myapp.models.MyModel correctly as myapp.MyModel.

otherwise if I have
INSTALLED_APPS = (

'project',
'project.myapp',

)
django recognize project.myapp.models.MyModel correctly as project.MyModel.

Change History (0)

Note: See TracTickets for help on using tickets.
Back to Top