diff options
| author | Aymeric Augustin <aymeric.augustin@m4x.org> | 2013-12-22 11:35:17 +0100 |
|---|---|---|
| committer | Aymeric Augustin <aymeric.augustin@m4x.org> | 2013-12-22 11:39:55 +0100 |
| commit | 2fef9e5375b0267734392080858d9fced15ee2f9 (patch) | |
| tree | 6bb12e97dd1d607f57f36ae34c0b492dbcf443ba /django/utils/module_loading.py | |
| parent | 99bd39ef6e1017f75c71fc276f43a941fe6081ea (diff) | |
Moved apps back in the toplevel django namespace.
Reverted 4a56a93cc458e9ab4dcab95d9f5067d4975dd1a2.
Diffstat (limited to 'django/utils/module_loading.py')
| -rw-r--r-- | django/utils/module_loading.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/utils/module_loading.py b/django/utils/module_loading.py index 8d95fc00a3..c7826be5e5 100644 --- a/django/utils/module_loading.py +++ b/django/utils/module_loading.py @@ -58,7 +58,7 @@ def autodiscover_modules(*args, **kwargs): registry. This register_to object must have a _registry instance variable to access it. """ - from django.core.apps import app_cache + from django.apps import app_cache register_to = kwargs.get('register_to') for app_config in app_cache.get_app_configs(): |
