Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Allow configuring the memcached host.

  • Loading branch information...
commit e9af771893c9b8f902155005b9a3005e9beade1f 1 parent b146fea
@coderanger coderanger authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  django_www/common_settings.py
View
2  django_www/common_settings.py
@@ -30,7 +30,7 @@
CACHES = {
'default': {
'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache',
- 'LOCATION': '127.0.0.1:11211',
+ 'LOCATION': SECRETS.get('memcached_host', '127.0.0.1:11211'),
} if PRODUCTION else {
'BACKEND': 'django.core.cache.backends.dummy.DummyCache'
},
Please sign in to comment.
Something went wrong with that request. Please try again.