Merge pull request #147 from kosz85/patch-2

Fix Migrations.all_migrations() list by clearing cache
This commit is contained in:
Bernardo Pires 2014-12-25 19:39:02 +01:00
commit a71e6fef70
1 changed files with 2 additions and 0 deletions

View File

@ -30,6 +30,8 @@ class Command(SyncCommon):
for app in ignored_apps:
app_label = app.split('.')[-1]
settings.SOUTH_MIGRATION_MODULES[app_label] = 'ignore'
self._clear_south_cache()
def _save_south_settings(self):
self._old_south_modules = None