From 7ce9f3f38d475ab8f699b2f69c12d645aebe0067 Mon Sep 17 00:00:00 2001 From: Chris Meyers Date: Sun, 17 May 2015 16:24:08 -0400 Subject: [PATCH] cache templates --- awx/settings/defaults.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/awx/settings/defaults.py b/awx/settings/defaults.py index 18146a9042..1c0e07cd8b 100644 --- a/awx/settings/defaults.py +++ b/awx/settings/defaults.py @@ -135,6 +135,13 @@ TEMPLATE_DIRS = ( os.path.join(BASE_DIR, 'templates'), ) +TEMPLATE_LOADERS = ( + ('django.template.loaders.cached.Loader', ( + 'django.template.loaders.filesystem.Loader', + 'django.template.loaders.app_directories.Loader', + )), +) + ROOT_URLCONF = 'awx.urls' WSGI_APPLICATION = 'awx.wsgi.application'