web/ldtplatform/config.py.tmpl
changeset 147 a9bddd86aa25
parent 142 0b2f32965787
child 176 a88714473302
--- a/web/ldtplatform/config.py.tmpl	Thu Aug 18 17:00:31 2011 +0200
+++ b/web/ldtplatform/config.py.tmpl	Fri Aug 19 11:31:57 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': {