From 9e995c66d41eeea4c88b49ad3529d6e7089c5bc4 Mon Sep 17 00:00:00 2001
From: rscnt <rascnt@gmail.com>
Date: Thu, 21 May 2015 22:51:23 -0600
Subject: [PATCH] settings: changed CMS_TEMPLATE_DIR value.

- For the SITE_ID=1, templates will be looked
  on the first entry for TEMPLATE_DIRS option.

Signed-off-by: rscnt <rascnt@gmail.com>
---
 dynamicweb/settings.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dynamicweb/settings.py b/dynamicweb/settings.py
index 57f7a053..f4400c2b 100644
--- a/dynamicweb/settings.py
+++ b/dynamicweb/settings.py
@@ -140,7 +140,7 @@ TEMPLATE_DIRS = (
 )
 
 CMS_TEMPLATES_DIR = {
-    1: os.path.join(BASE_DIR, 'templates/cms/ungleich.ch/'),
+    1: os.path.join(TEMPLATE_DIRS[0], 'cms/ungleich.ch/'),
 }