From: Armin Ronacher Date: Sat, 2 Jun 2007 10:57:38 +0000 (+0200) Subject: [svn] last changes before release X-Git-Tag: 2.0rc1~297 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=df8733a63f2e5dfe38aff746055918a294305070;p=jinja2.git [svn] last changes before release --HG-- branch : trunk --- diff --git a/docs/src/loaders.txt b/docs/src/loaders.txt index 18a8fbd..0112ed3 100644 --- a/docs/src/loaders.txt +++ b/docs/src/loaders.txt @@ -144,7 +144,10 @@ for the `FunctionLoader`: '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 ====================== diff --git a/jinja/loaders.py b/jinja/loaders.py index b17c44c..0f0ced7 100644 --- a/jinja/loaders.py +++ b/jinja/loaders.py @@ -263,6 +263,10 @@ class CachedLoaderMixin(object): 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,