summaryrefslogtreecommitdiff
path: root/django
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2014-12-09 08:43:40 -0500
committerTim Graham <timograham@gmail.com>2014-12-16 18:39:19 -0500
commitc085bea6c34979b9acc3108afd018cb391557002 (patch)
treed050458de000a088da2836a9a0e98de1f76ed4d1 /django
parent10482faf1996e654cb9849d7c0065841ad2adf35 (diff)
[1.7.x] Fixed #23975 -- Restored pre_migrate signal if all apps have migrations.
Thanks kmmbvnr for the report. Backport of d2ff8a7241b621b8013c7ec1631e95ae4445f76d from master
Diffstat (limited to 'django')
-rw-r--r--django/core/management/commands/migrate.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/django/core/management/commands/migrate.py b/django/core/management/commands/migrate.py
index 1c509854a7..24cb33ca47 100644
--- a/django/core/management/commands/migrate.py
+++ b/django/core/management/commands/migrate.py
@@ -128,6 +128,7 @@ class Command(BaseCommand):
created_models = self.sync_apps(connection, executor.loader.unmigrated_apps)
else:
created_models = []
+ emit_pre_migrate_signal([], self.verbosity, self.interactive, connection.alias)
# The test runner requires us to flush after a syncdb but before migrations,
# so do that here.