mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2024-11-29 04:54:02 +03:00
Merge pull request #8 from Bouke/patch-2
Heroku caching only in production
This commit is contained in:
commit
ce98a8f6f2
|
@ -288,6 +288,12 @@ else:
|
|||
SERVER_EMAIL = EMAIL_HOST_USER
|
||||
########## END EMAIL
|
||||
|
||||
########## CACHING
|
||||
from memcacheify import memcacheify
|
||||
CACHES = memcacheify()
|
||||
########## END CACHING
|
||||
|
||||
|
||||
########## TEMPLATE CONFIGURATION
|
||||
# See: https://docs.djangoproject.com/en/dev/ref/settings/#template-context-processors
|
||||
TEMPLATE_CONTEXT_PROCESSORS = (
|
||||
|
@ -357,11 +363,6 @@ LOGGING = {
|
|||
}
|
||||
########## END LOGGING CONFIGURATION
|
||||
|
||||
########## CACHING
|
||||
from memcacheify import memcacheify
|
||||
CACHES = memcacheify()
|
||||
########## END CACHING
|
||||
|
||||
|
||||
########## Your stuff: Below this line define 3rd party libary settings
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user