From b3b9a7e7fbcace5e5151f86b3f9ac5dacb2ca613 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Wed, 23 Dec 2015 12:32:01 +0100 Subject: One missing separator and where done with the ROOT_PATH --- example_project/settings.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'example_project') diff --git a/example_project/settings.py b/example_project/settings.py index d9337c4b6..3df329228 100644 --- a/example_project/settings.py +++ b/example_project/settings.py @@ -17,12 +17,12 @@ CACHE_SMALLTIMEOUT = 120 CACHE_TIMEOUT = 3600 CACHE_BACKEND = 'memcached://127.0.0.1:11211/' -ROOT_PATH = os.path.sep.join( - os.path.abspath(__file__).split(os.path.sep)[:-1]) +SEP = os.path.sep +ROOT_PATH = SEP.join( + os.path.abspath(__file__).split(SEP)[:-1]) + SEP STATIC_URL = '/static/' STATIC_ROOT = ROOT_PATH + 'static/' BASE_URL = "/" - URL_PATH = "" ODT_TEMPLATE = ROOT_PATH + "../ishtar_common/static/template.odt" -- cgit v1.2.3