src/hdalab/config.py.tmpl
changeset 632 eff2287e93fb
parent 546 0ca66b267d15
child 675 d68e7b3a2e4f
--- a/src/hdalab/config.py.tmpl	Tue Jun 23 02:24:56 2015 +0200
+++ b/src/hdalab/config.py.tmpl	Thu Jul 02 19:48:57 2015 +0200
@@ -30,6 +30,8 @@
 BASE_DIR = os.path.dirname(os.path.abspath(__file__)).rstrip("/") + "/"
 BASE_URL = '/~ymh/hdabo/'
 WEB_URL = 'http://localhost'
+#used when need to resolve url outside web context (in a commmand for example)
+SCRIPT_PREFIX = BASE_URL + 'hdalab'
 
 LOCALE_PATHS = ( os.path.join(BASE_DIR, 'locale',), )