499a991723f7343c826b9ed1bee2b807d0495828
[django-ssify.git] / ssify / store.py
1 from django.utils.cache import get_cache
2 from ssify import INCLUDES_CACHES
3
4
5 includes_caches = [get_cache(c) for c in INCLUDES_CACHES]
6
7
8 def cache_include(path, content):
9     for cache in includes_caches:
10         cache.set(path, content)