mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-02-16 19:41:03 +03:00
Merge pull request #25 from jimfmunro/default-cache-url-keyword
wont define the cache value unless default keyword is present for argume...
This commit is contained in:
commit
212fff9c90
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user