Ticket #1145 (closed defect: fixed)

Opened 3 years ago

Last modified 16 months ago

ran_migration receives the app name as string, but migration as migration object.

Reported by: adam.ness@… Owned by: andrew
Priority: major Milestone:
Component: commands Version: unknown
Keywords: Cc:


I have a code snippet as such:

def check_need_to_run(app=None, migration=None, method=None, *args, **kwargs):
    if app == "foo" and migration == "0041_add_new_bar":


But it errors out because south.migration.base's eq method is being called. The documents should be updated to reflect that the migration object is being passed, or else south.migration.migrator.Migrator should be updated to pass the migration name as a string object.

Change History

comment:1 Changed 3 years ago by andrew

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

Docs corrected in [aa19d6a1a7b0].

Note: See TracTickets for help on using tickets.