Hi,
Am trying get django working with memcached. I am running a few month old
trunk.
Start memcached: $ memcached -v
settings.py contains: CACHE_BACKEND = "memcached:///127.0.0.1:11211/"
shell:
$ python manage.py shell
[EMAIL PROTECTED] mcm_server_add3():2087: unable to lookup/resolve
host: No such file or directory: Name or service not known
Python 2.5.1 (r251:54863, Mar 7 2008, 04:10:12)
Type "copyright", "credits" or "license" for more information.
IPython 0.8.2 -- An enhanced Interactive Python.
? -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help -> Python's own help system.
object? -> Details about 'object'. ?object also works, ?? prints more.
In [1]: from django.core.cache import cache
In [2]: cache.set("k", 12)
[EMAIL PROTECTED] mcm_server_connect_next_avail():2322
In [3]: cache.get("k")
[EMAIL PROTECTED] mcm_server_connect_next_avail():2322
In [4]:
Am using cmemcache library:
http://leavingcorporate.com/2008/05/04/installing-cmemcache-on-ubuntu/
Anyone familiar with whats going on? TIA.
--
Amit Upadhyay
Vakow! www.vakow.com
+91-9820-295-512
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" 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-users?hl=en
-~----------~----~----~----~------~----~------~--~---