Commits

Anonymous committed e2b5bd0

updated syncdb to work with new migration module detection functions

Comments (0)

Files changed (1)

management/commands/syncdb.py

         apps_migrated = []
         for app in models.get_apps():
             app_name = get_app_name(app)
-            migrations = migration.get_migration_package(app)
+            migrations = migration.get_app(app)
             if migrations is None:
                 apps_needing_sync.append(app_name)
             else: