On Wed, Jun 16, 2010 at 1:04 AM, Giuseppe Ciotta <[email protected]> wrote: > On Wed, Jun 16, 2010 at 12:46 AM, Jeremy Dunck <[email protected]> wrote: >> On Sun, Jun 13, 2010 at 7:18 AM, lenz <[email protected]> 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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/django-developers?hl=en.
