我在一些模板中缓存html,例如:
{% cache 900 stats %} {{ stats }} {% endcache %}
我可以使用低级库访问缓存吗?例如
html = cache.get('stats')
我真的需要对模板缓存进行一些细粒度的控制:)
有任何想法吗?感谢大家!:d
python django caching django-templates django-cache
caching ×1
django ×1
django-cache ×1
django-templates ×1
python ×1