Ticket #7399: memcache.patch
File memcache.patch, 711 bytes (added by , 16 years ago) |
---|
-
django/core/cache/backends/memcached.py
9 9 try: 10 10 import memcache 11 11 except: 12 raise InvalidCacheBackendError("Memcached cache backend requires either the 'memcache' or 'cmemcache' library") 12 try: 13 import google.appengine.api.memcache as memcache 14 except: 15 raise InvalidCacheBackendError("Memcached cache backend requires either the 'memcache' or 'cmemcache' library") 13 16 14 17 class CacheClass(BaseCache): 15 18 def __init__(self, server, params):