web/ldtplatform/config.py.tmpl
changeset 109 b823ac24bc88
parent 106 2affc8a44dfb
child 112 9886ab183b09
--- a/web/ldtplatform/config.py.tmpl	Mon May 16 12:06:50 2011 +0200
+++ b/web/ldtplatform/config.py.tmpl	Mon May 16 17:42:40 2011 +0200
@@ -15,12 +15,12 @@
 
 # Absolute path to the directory that holds media.
 # Example: "/home/media/media.lawrence.com/"
-MEDIA_ROOT = os.path.abspath(BASE_DIR + "../static/")
+MEDIA_ROOT = os.path.abspath(BASE_DIR + "../static/").rstrip("/")+"/"
 
 
 # Absolute path to the directory that static files (js, css, swf...)
 # DO NOT forget to do command line ./manage.py collectstatic to gather static media into the web/static folder
-STATIC_ROOT = "C:/user/myfolder/my_platform/platform/web/static"
+STATIC_ROOT = MEDIA_ROOT + "site/"
 
 
 CONTENT_ROOT = MEDIA_ROOT + "media/content/"