diff options
| author | Tim Graham <timograham@gmail.com> | 2014-12-31 17:26:15 -0500 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2014-12-31 17:27:43 -0500 |
| commit | f461bc02cbfa7c04748e4b2392586fa3835330b1 (patch) | |
| tree | 6a70266d9d6791e6a72d610806c7a39db25fa0f4 /django | |
| parent | 8de2a44064ca11749579a5887f59821fa35e1fdc (diff) | |
[1.7.x] Fixed #23366 -- Fixed a crash with the migrate --list command.
Backport of b4bdd5262b18644456d12a00d475adf9897a9255 from master
Diffstat (limited to 'django')
| -rw-r--r-- | django/core/management/commands/migrate.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/core/management/commands/migrate.py b/django/core/management/commands/migrate.py index 24cb33ca47..ce65ac7cff 100644 --- a/django/core/management/commands/migrate.py +++ b/django/core/management/commands/migrate.py @@ -305,7 +305,7 @@ class Command(BaseCommand): some named apps. """ # Load migrations from disk/DB - loader = MigrationLoader(connection) + loader = MigrationLoader(connection, ignore_no_migrations=True) graph = loader.graph # If we were passed a list of apps, validate it if app_names: |
