Ticket #802 (infoneeded defect)

Opened 3 years ago

Last modified 3 years ago

Models not found while creating initial

Reported by: germanilyin@… Owned by: andrew
Priority: major Milestone: The Future
Component: migrations Version: unknown
Keywords: models not found Cc:

Description

Hi!

A have an application 'foo.bar'. So when I'm trying to create
initial schemamigration:

./manage.py schemamigration foo.bar --initial

I'm getting an empty initial migration. If I retry it says that there is no changes. It's obvious to me that south unable to find my foo.bar.models.

Change History

comment:1 Changed 3 years ago by andrew

  • Status changed from new to infoneeded

Django names apps by the last part of their import bath, so try:

./manage.py schemamigration bar --initial
Note: See TracTickets for help on using tickets.