diff options
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 |
commit | 5f353bdd79fe725c4a2384acbef11d223e371ce5 (patch) | |
tree | 6565cbb897ae02f320ce7750c62ce1de9f82f3aa /example_project | |
parent | b12b728edc5c0d301cf867efe5e1bb4a071dbd31 (diff) | |
download | Ishtar-5f353bdd79fe725c4a2384acbef11d223e371ce5.tar.bz2 Ishtar-5f353bdd79fe725c4a2384acbef11d223e371ce5.zip |
Improve ODT template path
Diffstat (limited to 'example_project')
-rw-r--r-- | example_project/settings.py | 4 |
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 |