summaryrefslogtreecommitdiff
path: root/example_project/settings.py
diff options
context:
space:
mode:
Diffstat (limited to 'example_project/settings.py')
-rw-r--r--example_project/settings.py11
1 files changed, 8 insertions, 3 deletions
diff --git a/example_project/settings.py b/example_project/settings.py
index 753c21a07..68ceab74b 100644
--- a/example_project/settings.py
+++ b/example_project/settings.py
@@ -17,11 +17,10 @@ THUMB_MAX_SIZE = (300, 300)
ROOT_PATH = os.path.abspath(os.path.curdir) + os.path.sep
STATIC_URL = '/static/'
STATIC_ROOT = ROOT_PATH + 'static/'
+BASE_URL = ""
URL_PATH = ""
-JQUERY_URL = "http://localhost/javascript/jquery/jquery.js"
-JQUERY_UI_URL = "http://localhost/javascript/jquery-ui/"
-XHTML2ODT_PATH = ROOT_PATH + "../xhtml2odt"
+XHTML2ODT_PATH = "/usr/local/lib/"
ODT_TEMPLATE = ROOT_PATH + "../ishtar_common/static/template.odt"
@@ -201,6 +200,12 @@ INSTALLED_APPS += EXTRA_APPS
INTERNAL_IPS = ('127.0.0.1',)
+if 'JQUERY_URL' not in globals():
+ JQUERY_URL = BASE_URL + "javascript/jquery/jquery.js"
+if 'JQUERY_UI_URL' not in globals():
+ JQUERY_UI_URL = BASE_URL + "javascript/jquery-ui/"
+
+
if DEBUG_TOOLBAR:
global DEBUG_TOOLBAR_PANELS
global DEBUG_TOOLBAR_CONFIG