diff --git a/django/db/migrations/loader.py b/django/db/migrations/loader.py index 661f74ff975..30a14852442 100644 --- a/django/db/migrations/loader.py +++ b/django/db/migrations/loader.py @@ -1,3 +1,4 @@ + from __future__ import unicode_literals from importlib import import_module @@ -62,8 +63,6 @@ class MigrationLoader(object): self.unmigrated_apps = set() self.migrated_apps = set() for app_config in apps.get_app_configs(): - if app_config.models_module is None: - continue # Get the migrations module directory module_name = self.migrations_module(app_config.label) was_loaded = module_name in sys.modules