MCPcopy
hub / github.com/django/django / reset

Method reset

django/template/loaders/cached.py:98–100  ·  view source on GitHub ↗

Empty the template cache.

(self)

Source from the content-addressed store, hash-verified

96 return hashlib.sha1("|".join(values).encode()).hexdigest()
97
98 def reset(self):
99 "Empty the template cache."
100 self.get_template_cache.clear()

Callers

nothing calls this directly

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected