djblets.template.caches¶
Utility functions for working with template-related caches.
- clear_template_tag_caches()¶
Clear the template tags caches.
This allows changes to the list of available template tags to be reflected in any new templates by emptying all the caches and forcing the available list of tags to be rebuilt.
- clear_template_caches()¶
Clear the templates caches.
This clears any caches for template parse trees and related state, forcing templates to be re-parsed and re-rendered.