-
Notifications
You must be signed in to change notification settings - Fork 40
Open
Description
Hello,
i'm trying to use this with django 1.8
here is my settings.py
# Cache
os.environ[ 'MEMCACHE_SERVERS' ] = '***:***'
os.environ[ 'MEMCACHE_USERNAME' ] = '***'
os.environ[ 'MEMCACHE_PASSWORD' ] = '***'
CACHES = {
'default': {
'BACKEND': 'django.core.cache.backends.memcached.PyLibMCCache',
'LOCATION': '****',
'BINARY' : True,
},
}
It seems to ignore completely what is in os environment. So if I don't put LOCATION in the caches, it won't pick it up from the os environ.
So when LOCATION in CACHES it connects, but it won't authenticate. I guess it doesn't pick username and password from environment.
is there an alternative way to force username, password ?
I use this with rediscloud memcache and their authentication is using SASL Authentication... if this makes any difference.
Metadata
Metadata
Assignees
Labels
No labels