diff options
| author | Aymeric Augustin <aymeric.augustin@m4x.org> | 2013-12-24 12:25:17 +0100 |
|---|---|---|
| committer | Aymeric Augustin <aymeric.augustin@m4x.org> | 2013-12-24 12:25:17 +0100 |
| commit | 1716b7ce5a02b2a77188dfea2d41e25dfa58821c (patch) | |
| tree | f3422c0d6725f45756a3b9deb32406d319b8a72e /django/utils/autoreload.py | |
| parent | e9e522a8e7455900a775678e5d6bc518a289b8d1 (diff) | |
Renamed AppCache to Apps.
Also renamed app_cache to apps and "app cache" to "app registry".
Deprecated AppCache.app_cache_ready() in favor of Apps.ready().
Diffstat (limited to 'django/utils/autoreload.py')
| -rw-r--r-- | django/utils/autoreload.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/django/utils/autoreload.py b/django/utils/autoreload.py index b7a889aa61..94c74e582a 100644 --- a/django/utils/autoreload.py +++ b/django/utils/autoreload.py @@ -36,7 +36,7 @@ import sys import time import traceback -from django.apps import app_cache +from django.apps import apps from django.conf import settings from django.core.signals import request_finished try: @@ -90,7 +90,7 @@ def gen_filenames(): basedirs = [os.path.join(os.path.dirname(os.path.dirname(__file__)), 'conf', 'locale'), 'locale'] - for app_config in reversed(list(app_cache.get_app_configs())): + for app_config in reversed(list(apps.get_app_configs())): basedirs.append(os.path.join(app_config.path, 'locale')) basedirs.extend(settings.LOCALE_PATHS) basedirs = [os.path.abspath(basedir) for basedir in basedirs |
