Commits

pydolan  committed b076c35

fixed ticket #641 (fixture installing during "migrate" doesn't recognize "--database" option)

  • Participants
  • Parent commits 1a8b922

Comments (0)

Files changed (1)

File south/migration/__init__.py

         # Note: We use a fake Forwards() migrator here. It's never used really.
         if load_initial_data:
             migrator = LoadInitialDataMigrator(migrator=Forwards(verbosity=verbosity))
-            migrator.load_initial_data(target)
+            migrator.load_initial_data(target, db=database)
         # Send signal.
         post_migrate.send(None, app=app_label)