From 180c8683b89322a04e22d10d9c725322891f96fa Mon Sep 17 00:00:00 2001 From: rscnt Date: Thu, 21 May 2015 02:17:05 -0600 Subject: [PATCH] settings: added template dirs. Signed-off-by: rscnt --- dynamicweb/settings.py | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/dynamicweb/settings.py b/dynamicweb/settings.py index 459eff2f..592fcaea 100644 --- a/dynamicweb/settings.py +++ b/dynamicweb/settings.py @@ -135,6 +135,16 @@ TEMPLATE_CONTEXT_PROCESSORS = ( 'cms.context_processors.cms_settings', ) +TEMPLATE_DIRS = ( + os.path.join(BASE_DIR, 'templates'), +) + +CMS_TEMPLATES_DIR: { + 1: os.path.join(BASE_DIR, 'templates/cms/ungleich.ch/'), +} + + + # Database # https://docs.djangoproject.com/en/1.8/ref/settings/#databases @@ -194,10 +204,6 @@ TEMPLATE_DIRS = ( os.path.join(BASE_DIR, "templates"), ) -# TODO: Configure it later. -CMS_TEMPLATES = ( -) - META_SITE_PROTOCOL = 'http' META_USE_SITES = True