mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-02-24 07:20:40 +03:00
wont define the cache value unless default keyword is present for argument
This commit is contained in:
parent
918a194096
commit
baa83a762c
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user