From 5f353bdd79fe725c4a2384acbef11d223e371ce5 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Tue, 16 Apr 2013 20:07:06 +0200 Subject: Improve ODT template path --- example_project/settings.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'example_project') diff --git a/example_project/settings.py b/example_project/settings.py index 5b333de1d..af71e2896 100644 --- a/example_project/settings.py +++ b/example_project/settings.py @@ -12,7 +12,9 @@ URL_PATH = "" JQUERY_URL = "http://localhost/javascript/jquery/jquery.js" JQUERY_UI_URL = "http://localhost/javascript/jquery-ui/" XHTML2ODT_PATH = ROOT_PATH + "../xhtml2odt" -ODT_TEMPLATE = ROOT_PATH + "../static/template.odt" + +ODT_TEMPLATE = os.sep.join([ROOT_PATH[:-1], "..", "ishtar_common", + "static", "template.odt"]) LOGIN_REDIRECT_URL = "/" + URL_PATH DEBUG = 1 -- cgit v1.2.3