diff options
| author | Tim Graham <timograham@gmail.com> | 2014-12-09 08:43:40 -0500 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2014-12-16 18:34:25 -0500 |
| commit | d2ff8a7241b621b8013c7ec1631e95ae4445f76d (patch) | |
| tree | cbaeceab48246628da383be7b48f0a358dca3324 /django | |
| parent | f91d7366e066dc5e1edd90c6bde438fae9fe67fb (diff) | |
Fixed #23975 -- Restored pre_migrate signal if all apps have migrations.
Thanks kmmbvnr for the report.
Diffstat (limited to 'django')
| -rw-r--r-- | django/core/management/commands/migrate.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/django/core/management/commands/migrate.py b/django/core/management/commands/migrate.py index 00732390aa..69ccbd3548 100644 --- a/django/core/management/commands/migrate.py +++ b/django/core/management/commands/migrate.py @@ -156,6 +156,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. |
