summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@peacefrogs.net>2013-04-16 20:07:06 +0200
committerÉtienne Loks <etienne.loks@peacefrogs.net>2013-04-16 20:07:06 +0200
commit5f353bdd79fe725c4a2384acbef11d223e371ce5 (patch)
tree6565cbb897ae02f320ce7750c62ce1de9f82f3aa
parentb12b728edc5c0d301cf867efe5e1bb4a071dbd31 (diff)
downloadIshtar-5f353bdd79fe725c4a2384acbef11d223e371ce5.tar.bz2
Ishtar-5f353bdd79fe725c4a2384acbef11d223e371ce5.zip
Improve ODT template path
-rw-r--r--example_project/settings.py4
1 files changed, 3 insertions, 1 deletions
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