From 9b10ac7debb761e77b655ea7f561f2d51a943c57 Mon Sep 17 00:00:00 2001 From: PCoder Date: Sun, 9 Jul 2017 19:21:30 +0530 Subject: [PATCH] Moved google_analytics code to templates/analytics folder. It was causing wrong footer to be loaded. --- dynamicweb/settings/base.py | 5 ++--- templates/{ => analytics}/google_analytics.html | 0 2 files changed, 2 insertions(+), 3 deletions(-) rename templates/{ => analytics}/google_analytics.html (100%) diff --git a/dynamicweb/settings/base.py b/dynamicweb/settings/base.py index 0df9031f..56c1e589 100644 --- a/dynamicweb/settings/base.py +++ b/dynamicweb/settings/base.py @@ -146,7 +146,6 @@ TEMPLATES = [ { 'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': [os.path.join(PROJECT_DIR, 'cms_templates/'), - os.path.join(PROJECT_DIR, 'templates'), os.path.join(PROJECT_DIR, 'cms_templates/djangocms_blog/'), os.path.join(PROJECT_DIR, 'membership'), os.path.join(PROJECT_DIR, 'hosting/templates/'), @@ -154,8 +153,8 @@ TEMPLATES = [ os.path.join(PROJECT_DIR, 'ungleich/templates/djangocms_blog/'), os.path.join(PROJECT_DIR, 'ungleich/templates/cms/ungleichch'), os.path.join(PROJECT_DIR, 'ungleich/templates/ungleich'), - os.path.join(PROJECT_DIR, 'ungleich_page/templates/ungleich_page') - + os.path.join(PROJECT_DIR, 'ungleich_page/templates/ungleich_page'), + os.path.join(PROJECT_DIR, 'templates/analytics'), ], 'APP_DIRS': True, 'OPTIONS': { diff --git a/templates/google_analytics.html b/templates/analytics/google_analytics.html similarity index 100% rename from templates/google_analytics.html rename to templates/analytics/google_analytics.html