wont define the cache value unless default keyword is present for argument

This commit is contained in:
jmunro 2013-09-22 22:15:37 -06:00
parent 918a194096
commit baa83a762c

View File

@ -272,7 +272,7 @@ class Local(Common):
'SHOW_TEMPLATE_CONTEXT': True, 'SHOW_TEMPLATE_CONTEXT': True,
} }
########## end django-debug-toolbar ########## end django-debug-toolbar
########## STATIC FILE CONFIGURATION ########## STATIC FILE CONFIGURATION
# See: https://docs.djangoproject.com/en/dev/ref/settings/#static-root # See: https://docs.djangoproject.com/en/dev/ref/settings/#static-root
STATIC_ROOT = 'staticfiles' STATIC_ROOT = 'staticfiles'
@ -380,7 +380,7 @@ class Production(Common):
########## CACHING ########## CACHING
# Only do this here because thanks to django-pylibmc-sasl and pylibmc memcacheify is painful to install on windows. # 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 ########## END CACHING
########## Your production stuff: Below this line define 3rd party libary settings ########## Your production stuff: Below this line define 3rd party libary settings