mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-07-14 18:12:28 +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,
|
'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