'template/' # string prefix for the cache keys
)
+This mixin requires the `python-memcached`_ library.
+
.. _memcached: http://www.danga.com/memcached/
+.. _python-memcached: http://www.tummy.com/Community/software/python-memcached/
How Mixin Classes Work
======================
class MemcachedLoaderMixin(object):
"""
Uses a memcached server to cache the templates.
+
+ Requires the memcache library from tummy__.
+
+ __ http://www.tummy.com/Community/software/python-memcached/
"""
def __init__(self, use_memcache, memcache_time=60 * 60 * 24 * 7,