summaryrefslogtreecommitdiff
path: root/django/apps/__init__.py
diff options
context:
space:
mode:
authorAymeric Augustin <aymeric.augustin@m4x.org>2013-12-23 00:10:53 +0100
committerAymeric Augustin <aymeric.augustin@m4x.org>2013-12-23 20:15:08 +0100
commit5891990b6e6f6e90a873ceb199b321177a90c9eb (patch)
tree437f9c221dd28d888913e1d55dabc66a2a9d68a5 /django/apps/__init__.py
parent8cff95e937a3a10e577082bfbcd75ed82ec0223b (diff)
Refactored INSTALLED_APPS overrides.
* Introduced [un]set_installed_apps to handle changes to the INSTALLED_APPS setting. * Refactored [un]set_available_apps to share its implementation with [un]set_installed_apps. * Implemented a receiver to clear some app-related caches. * Removed test_missing_app as it is basically impossible to reproduce this situation with public methods of the new app cache.
Diffstat (limited to 'django/apps/__init__.py')
-rw-r--r--django/apps/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/django/apps/__init__.py b/django/apps/__init__.py
index a1193eafcc..6b47d3397f 100644
--- a/django/apps/__init__.py
+++ b/django/apps/__init__.py
@@ -1,2 +1,2 @@
-from .base import AppConfig # NOQA
-from .cache import app_cache, UnavailableApp # NOQA
+from .base import AppConfig # NOQA
+from .cache import app_cache # NOQA