diff --git a/enterprise_subsidy/settings/devstack.py b/enterprise_subsidy/settings/devstack.py index 42ad1219..f414794c 100644 --- a/enterprise_subsidy/settings/devstack.py +++ b/enterprise_subsidy/settings/devstack.py @@ -28,7 +28,7 @@ CACHES = { 'default': { 'BACKEND': 'django.core.cache.backends.memcached.PyMemcacheCache', - 'LOCATION': 'enterprise-subsidy.memcache:11211', + 'LOCATION': os.environ.get('MEMCACHE_HOST', 'enterprise-subsidy.memcache:11211'), } }