Ticket #56 (closed defect: fixed)

Opened 7 years ago

Last modified 4 years ago

./manage.py migrate breaks for apps with no migrations

Reported by: nick@… Owned by: andrew
Priority: major Milestone:
Component: commands Version:
Keywords: Cc:


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

Change History

comment:1 Changed 7 years ago by andrew

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

Fixed in [105].

Note: See TracTickets for help on using tickets.