https://docs.djangoproject.com/en/2.1/topics/cache/#memcached
Particularly the multiple servers section, which does not detail if all
memcached daemons should be configured to listen on all interfaces i.e.
0.0.0.0
So just as a sanity check:
Scenario 1: (memcached installed naively ( i.e. liste
Thank you all for the prompt responses.
Yes Lutz, it was the different versions of python running. I have
installed the memcached for 2.5 but mod_python is running with 2.4.
Stupid me. This was something I should clean-up long ago.
Thanks...
On 29 Mayıs, 10:12, Lutz Steinborn <[EMAIL PROTECT
On Tue, 29 May 2007 06:49:02 -
omat <[EMAIL PROTECTED]> wrote:
>
> 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
Hi,
just an idea: diffe
On Tue, 2007-05-29 at 16:54 +1000, Malcolm Tredinnick wrote:
> On Tue, 2007-05-29 at 06:49 +, omat wrote:
> > Hi all,
> >
> > I have installed memcached and python bindings on Fedora Core 4.
My sincere apologies. I completely misread this line. You *have*
installed the pre-reqs (in theory).
Could it possibly be due to the fact that your python shell has the
correct PYTHONPATH set (with the memcached python bindings) and that
your django configuration doesn't have the correct PYTHONPATH?
omat wrote:
> Hi all,
>
> I have installed memcached and python bindings on Fedora Core 4. Usin
On Tue, 2007-05-29 at 06:49 +, 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:1121
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('t
7 matches
Mail list logo