Cache compiled templates by default in production settings. Turn off Celery's eager behaviour in production by default.

This commit is contained in:
Roberto Rosario
2015-06-16 20:42:03 -04:00
parent ac68470c89
commit a4cd152310

View File

@@ -7,3 +7,12 @@ DEBUG = False
# Update this accordingly;
# https://docs.djangoproject.com/en/dev/ref/settings/#allowed-hosts
ALLOWED_HOSTS = ['*']
TEMPLATE_LOADERS = (
('django.template.loaders.cached.Loader', (
'django.template.loaders.filesystem.Loader',
'django.template.loaders.app_directories.Loader',
)),
)
CELERY_ALWAYS_EAGER = False