App engine supports memcache now, so should we
Needed to patch sys.modules so that django.middleware.cache.CacheMiddleware works out of the box
- memcache.diff 708
Comment #1
Posted on May 28, 2008 by Helpful Lionnote: written during guido's talk at google io whaatttt
Comment #2
Posted on Jun 23, 2008 by Helpful BearI've added the issue #57 with diff enabling django sessions. It is different issue because it is related more to sessions and not onlu to memcached.
If you enable memcached, you can use cache backend for sessions and it just works :)
I've tested it with original Django tests (also in diff) and with below view:
def index(request): id = request.session.get('id', 0) id +=1 request.session['id'] = id return HttpResponse('ID: %d' % id)
Comment #3
Posted on Jul 9, 2008 by Grumpy DogI'm closing this in favour of Issue #57 which has a more full featured patch on offer.
Status: Duplicate
Labels:
Type-Enhancement
Priority-Medium