Heroku caching only in production

This commit is contained in:
Bouke Haarsma 2013-08-28 13:25:42 +02:00
parent cd62e9333e
commit bca3f53b6d

View File

@ -287,6 +287,12 @@ else:
EMAIL_USE_TLS = True EMAIL_USE_TLS = True
SERVER_EMAIL = EMAIL_HOST_USER SERVER_EMAIL = EMAIL_HOST_USER
########## END EMAIL ########## END EMAIL
########## CACHING
from memcacheify import memcacheify
CACHES = memcacheify()
########## END CACHING
########## TEMPLATE CONFIGURATION ########## TEMPLATE CONFIGURATION
# See: https://docs.djangoproject.com/en/dev/ref/settings/#template-context-processors # See: https://docs.djangoproject.com/en/dev/ref/settings/#template-context-processors
@ -357,11 +363,6 @@ LOGGING = {
} }
########## END LOGGING CONFIGURATION ########## END LOGGING CONFIGURATION
########## CACHING
from memcacheify import memcacheify
CACHES = memcacheify()
########## END CACHING
########## Your stuff: Below this line define 3rd party libary settings ########## Your stuff: Below this line define 3rd party libary settings