From df8733a63f2e5dfe38aff746055918a294305070 Mon Sep 17 00:00:00 2001 From: Armin Ronacher Date: Sat, 2 Jun 2007 12:57:38 +0200 Subject: [PATCH] [svn] last changes before release --HG-- branch : trunk --- docs/src/loaders.txt | 3 +++ jinja/loaders.py | 4 ++++ 2 files changed, 7 insertions(+) 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, -- 2.26.2