From baa83a762cb6d0204e06b975878c0dfb10bbe570 Mon Sep 17 00:00:00 2001 From: jmunro Date: Sun, 22 Sep 2013 22:15:37 -0600 Subject: [PATCH] wont define the cache value unless default keyword is present for argument --- .../{{cookiecutter.repo_name}}/config/settings.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/{{cookiecutter.repo_name}}/{{cookiecutter.repo_name}}/config/settings.py b/{{cookiecutter.repo_name}}/{{cookiecutter.repo_name}}/config/settings.py index e434e362b..fda8b6d76 100644 --- a/{{cookiecutter.repo_name}}/{{cookiecutter.repo_name}}/config/settings.py +++ b/{{cookiecutter.repo_name}}/{{cookiecutter.repo_name}}/config/settings.py @@ -272,7 +272,7 @@ class Local(Common): 'SHOW_TEMPLATE_CONTEXT': True, } ########## end django-debug-toolbar - + ########## STATIC FILE CONFIGURATION # See: https://docs.djangoproject.com/en/dev/ref/settings/#static-root STATIC_ROOT = 'staticfiles' @@ -380,7 +380,7 @@ class Production(Common): ########## CACHING # Only do this here because thanks to django-pylibmc-sasl and pylibmc memcacheify is painful to install on windows. - CACHES = values.CacheURLValue("memcached://127.0.0.1:11211") + CACHES = values.CacheURLValue(default="memcached://127.0.0.1:11211") ########## END CACHING ########## Your production stuff: Below this line define 3rd party libary settings