web/ldtplatform/config.py.tmpl
changeset 109 b823ac24bc88
parent 106 2affc8a44dfb
child 112 9886ab183b09
equal deleted inserted replaced
107:13744108acae 109:b823ac24bc88
    13 STREAM_SRC_PREFIX = ""
    13 STREAM_SRC_PREFIX = ""
    14  
    14  
    15 
    15 
    16 # Absolute path to the directory that holds media.
    16 # Absolute path to the directory that holds media.
    17 # Example: "/home/media/media.lawrence.com/"
    17 # Example: "/home/media/media.lawrence.com/"
    18 MEDIA_ROOT = os.path.abspath(BASE_DIR + "../static/")
    18 MEDIA_ROOT = os.path.abspath(BASE_DIR + "../static/").rstrip("/")+"/"
    19 
    19 
    20 
    20 
    21 # Absolute path to the directory that static files (js, css, swf...)
    21 # Absolute path to the directory that static files (js, css, swf...)
    22 # DO NOT forget to do command line ./manage.py collectstatic to gather static media into the web/static folder
    22 # DO NOT forget to do command line ./manage.py collectstatic to gather static media into the web/static folder
    23 STATIC_ROOT = "C:/user/myfolder/my_platform/platform/web/static"
    23 STATIC_ROOT = MEDIA_ROOT + "site/"
    24 
    24 
    25 
    25 
    26 CONTENT_ROOT = MEDIA_ROOT + "media/content/"
    26 CONTENT_ROOT = MEDIA_ROOT + "media/content/"
    27 
    27 
    28 # PATH where uploaded media are put.
    28 # PATH where uploaded media are put.