I cannot make memcached work with GAE. When I use Google cache backend, following the tutorial on GAE website, the views are not cached. So I used caching the urls as suggested in Django tutorial (e.g:
`(r'^example$', cache_page(60*15)(views.example)),
then I get this:
File "/python27_runtime/python27_lib/versions/third_party/django-1.4/django/middleware/cache.py", line 205, in __init__
self.cache_timeout = self.cache.default_timeout
AttributeError: 'Client' object has no attribute 'default_timeout'
AttributeError: 'Client' object has no attribute 'default_timeout', if I use google backend (django.core.cache.backends.memcached.MemcachedCache
) I get
Error: ImproperlyConfigured: Error importing middleware django.contrib.sessions.middleware: "No module named memcache".
Here somebody asked previously about using Django caching backend and suggest to install python-memcached, I did that and it still does not work.
Somebody suggested to write backend for GAE. I could not quite understand. If the best response to this question will be explaining step by step how to write a backend very roughly, then I will accept that answer.