deb-horizon/releasenotes/notes/bp-cache-templates-4ab00dcda195a03a.yaml
Rob Cresswell 457972c1c6 Add Cached loader for templates
This patch adds the cached template loader to our TEMPLATE_LOADERS
setting.

Change-Id: I44bb13dfb2868c857112483c1ad09a181121b58c
Implements: blueprint cache-templates
2015-12-07 16:56:19 +00:00

9 lines
416 B
YAML

---
features:
- Added the Django template cached loader, so templates are stored in memory.
See https://docs.djangoproject.com/en/1.8/ref/templates/api/#django.template.loaders.cached.Loader
upgrade:
- Custom template tags must have a thread-safe Node implementation to work
with the the cached loader. See
https://docs.djangoproject.com/en/1.8/howto/custom-template-tags/#template-tag-thread-safety