web/ldtplatform/config.py.tmpl
changeset 142 0b2f32965787
parent 122 f3a013f66974
child 176 a88714473302
--- a/web/ldtplatform/config.py.tmpl	Thu Aug 18 13:28:02 2011 +0200
+++ b/web/ldtplatform/config.py.tmpl	Fri Aug 19 10:17:05 2011 +0200
@@ -13,6 +13,7 @@
 STREAM_SRC_PREFIX = ""
  
 BASE_STATIC_ROOT = os.path.abspath(BASE_DIR + "../static/").rstrip("/")+"/"
+BASE_STATIC_URL = BASE_URL + 'static/' 
 
 # Absolute path to the directory that holds media.
 # Example: "/home/media/media.lawrence.com/"
@@ -32,6 +33,10 @@
 # PATH where uploaded media are put.
 STREAM_PATH = CONTENT_ROOT
 
+ADMIN_MEDIA_PREFIX = STATIC_URL + 'admin/'
+LDT_MEDIA_PREFIX = STATIC_URL + 'ldt/'
+
+
 
 DATABASES = {
     'default': {