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 | 2980c718ee8c69c2fa055045a682e310107acb67 (patch) | |
tree | 6565cbb897ae02f320ce7750c62ce1de9f82f3aa | |
parent | 81648f176e907b506b4cf631ac2208960cafb1c2 (diff) | |
download | Ishtar-2980c718ee8c69c2fa055045a682e310107acb67.tar.bz2 Ishtar-2980c718ee8c69c2fa055045a682e310107acb67.zip |
Improve ODT template path
-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 |