Modify ↓
Ticket #56 (closed defect: fixed)
./manage.py migrate breaks for apps with no migrations
| Reported by: | nick@… | Owned by: | andrew |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | commands | Version: | |
| Keywords: | Cc: |
Description
If you define an app as being handled by south, but you've yet to create any migrations for it, then ./manage.py migrate will break with
File "lib/south/management/commands/migrate.py", line 61, in handle
load_inital_data = True,
File "lib/south/migration.py", line 372, in migrate_app
target_name = migrations[-1]
IndexError: list index out of range
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

Fixed in [105].