On Tue, 2007-05-29 at 06:49 +0000, omat wrote: > Hi all, > > I have installed memcached and python bindings on Fedora Core 4. Using > the python shell I am able to use cache with django: > > >>> from django.conf import settings > >>> settings.configure(CACHE_BACKEND = 'memcached://127.0.0.1:11211/') > >>> from django.core.cache import cache > >>> cache.set('test', 'abc') > >>> cache.get('test') > 'abc' > > But when I put CACHE_BACKEND = 'memcached://127.0.0.1:11211/' in the > settings.py I get: > > InvalidCacheBackendError: Memcached cache backend requires either > 'memcached' or 'cmemcached' libraries
The error message is telling you what the problem is. You are missing a necessary library. When you see a message like this, it's time to go and read the documentation to see what you might have missed. The requirements are all described in the caching document. See http://www.djangoproject.com/documentation/cache/#memcached Regards, Malcolm --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---