Ticket #1145 (closed defect: fixed)
ran_migration receives the app name as string, but migration as migration object.
|Reported by:||adam.ness@…||Owned by:||andrew|
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": process_post_migration() ran_migration.connect(check_need_to_process)
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.