diff options
| author | Aymeric Augustin <aymeric.augustin@m4x.org> | 2013-12-12 11:36:40 +0100 |
|---|---|---|
| committer | Aymeric Augustin <aymeric.augustin@m4x.org> | 2013-12-17 10:17:44 +0100 |
| commit | 2c9e84af4a08096c47ebd3d54b463af1a3c7de77 (patch) | |
| tree | 935798823a19acf23fbf7845a55753ff14000e7e /django/apps/cache.py | |
| parent | 0e9d3472d7f7b38d36be2f09393b04e1783bca3b (diff) | |
Removed unused attribute app_errors of the app cache.
get_app_errors() always returned an empty dictionary; this behavior is
preserved in django.db.models.loading until that module is deprecated.
Diffstat (limited to 'django/apps/cache.py')
| -rw-r--r-- | django/apps/cache.py | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/django/apps/cache.py b/django/apps/cache.py index 3ef63eff4a..34909deeac 100644 --- a/django/apps/cache.py +++ b/django/apps/cache.py @@ -35,9 +35,6 @@ def _initialize(): # May contain apps that are not installed. app_models=OrderedDict(), - # Mapping of app_labels to errors raised when trying to import the app. - app_errors={}, - # Pending lookups for lazy relations pending_lookups={}, @@ -223,11 +220,6 @@ class BaseAppCache(object): finally: imp.release_lock() - def get_app_errors(self): - "Returns the map of known problems with the INSTALLED_APPS." - self._populate() - return self.app_errors - def get_models(self, app_mod=None, include_auto_created=False, include_deferred=False, only_installed=True, include_swapped=False): |
