summaryrefslogtreecommitdiff
path: root/django/template
diff options
context:
space:
mode:
authorTom Forbes <tom@tomforb.es>2019-01-18 23:35:00 +0000
committerTim Graham <timograham@gmail.com>2019-01-18 18:35:00 -0500
commit7eb4db8732a3b491d4945a94a314842ba0ad8924 (patch)
treee1fc32a38b09123c05e70a5e0b6428482557a119 /django/template
parent709a8b861de14204f0e13c9a0fbfd61c11b3565d (diff)
Removed template_cache attribute from cached template loader.
Unused since 5d8da093a974f41e08573bbe0d32d5ffeaadd0ad.
Diffstat (limited to 'django/template')
-rw-r--r--django/template/loaders/cached.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/django/template/loaders/cached.py b/django/template/loaders/cached.py
index fcd2bc080b..2ee659127e 100644
--- a/django/template/loaders/cached.py
+++ b/django/template/loaders/cached.py
@@ -14,7 +14,6 @@ from .base import Loader as BaseLoader
class Loader(BaseLoader):
def __init__(self, engine, loaders):
- self.template_cache = {}
self.get_template_cache = {}
self.loaders = engine.get_template_loaders(loaders)
super().__init__(engine)
@@ -90,5 +89,4 @@ class Loader(BaseLoader):
def reset(self):
"Empty the template cache."
- self.template_cache.clear()
self.get_template_cache.clear()