On Wed, Jun 16, 2010 at 1:04 AM, Giuseppe Ciotta <gcio...@gmail.com> wrote: > On Wed, Jun 16, 2010 at 12:46 AM, Jeremy Dunck <jdu...@gmail.com> wrote: >> On Sun, Jun 13, 2010 at 7:18 AM, lenz <lenzhir...@googlemail.com> wrote: >>> Could you share your code with us? >>> Thanks you! >> >> This might help: >> http://gist.github.com/425403 > > I have some similar code here: http://gist.github.com/439868 > > It might be better because it wraps an arbitrary cache backend adding > prefix handling, it's not limited to memcache.
Uhm, http://gist.github.com/425403 does indeed support an arbitrary backend, there's just a call to _get_memcache_timeout() which should be changed in order to make it completely backend agnostic. I left "*args, **kwargs" signatures everywhere to avoid dealing with parameters. -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-develop...@googlegroups.com. To unsubscribe from this group, send email to django-developers+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-developers?hl=en.