diff --git a/taiga/base/models.py b/taiga/base/models.py index 9cb0cd80..4bbadf1d 100644 --- a/taiga/base/models.py +++ b/taiga/base/models.py @@ -20,4 +20,3 @@ from . import monkey monkey.patch_api_view() monkey.patch_serializer() monkey.patch_import_module() -monkey.patch_south_hacks() diff --git a/taiga/base/monkey.py b/taiga/base/monkey.py index aa189231..fd2cbf2c 100644 --- a/taiga/base/monkey.py +++ b/taiga/base/monkey.py @@ -81,18 +81,3 @@ def patch_import_module(): import importlib django_importlib.import_module = importlib.import_module - - -def patch_south_hacks(): - from south.hacks import django_1_0 - - orig_set_installed_apps = django_1_0.Hacks.set_installed_apps - def set_installed_apps(self, apps, preserve_models=True): - return orig_set_installed_apps(self, apps, preserve_models=preserve_models) - - orig__redo_app_cache = django_1_0.Hacks._redo_app_cache - def _redo_app_cache(self, preserve_models=True): - return orig__redo_app_cache(self, preserve_models=preserve_models) - - django_1_0.Hacks.set_installed_apps = set_installed_apps - django_1_0.Hacks._redo_app_cache = _redo_app_cache