diff --git a/django/db/migrations/loader.py b/django/db/migrations/loader.py
index 35266a7..cbfb11a 100644
a
|
b
|
class MigrationLoader(object):
|
97 | 97 | migration_names.add(import_name) |
98 | 98 | # Load them |
99 | 99 | south_style_migrations = False |
| 100 | django_style_migrations = False |
100 | 101 | for migration_name in migration_names: |
101 | 102 | try: |
102 | 103 | migration_module = import_module("%s.%s" % (module_name, migration_name)) |
… |
… |
class MigrationLoader(object):
|
115 | 116 | south_style_migrations = True |
116 | 117 | break |
117 | 118 | self.disk_migrations[app_config.label, migration_name] = migration_module.Migration(migration_name, app_config.label) |
| 119 | django_style_migrations = True |
| 120 | |
118 | 121 | if south_style_migrations: |
119 | | if app_config.label in self.migrated_apps: |
| 122 | if south_style_migrations and django_style_migrations: |
120 | 123 | raise BadMigrationError( |
121 | 124 | "Migrated app %r contains South migrations. Make sure " |
122 | 125 | "all numbered South migrations are deleted prior to " |