31 BASE_URL = '%(base_url)s' |
31 BASE_URL = '%(base_url)s' |
32 BASE_STATIC_URL = BASE_URL + 'static/' |
32 BASE_STATIC_URL = BASE_URL + 'static/' |
33 |
33 |
34 # Absolute filesystem path to the directory that will hold user-uploaded files. |
34 # Absolute filesystem path to the directory that will hold user-uploaded files. |
35 # Example: "/home/media/media.lawrence.com/media/" |
35 # Example: "/home/media/media.lawrence.com/media/" |
36 MEDIA_ROOT = os.path.abspath(BASE_ROOT + "../../web/static/media").rstrip("/")+"/" |
36 MEDIA_ROOT = os.path.abspath(BASE_ROOT + "../../static/media").rstrip("/")+"/" |
37 |
37 |
38 # URL that handles the media served from MEDIA_ROOT. Make sure to use a |
38 # URL that handles the media served from MEDIA_ROOT. Make sure to use a |
39 # trailing slash. |
39 # trailing slash. |
40 # Examples: "http://media.lawrence.com/media/", "http://example.com/media/" |
40 # Examples: "http://media.lawrence.com/media/", "http://example.com/media/" |
41 MEDIA_URL = BASE_STATIC_URL + "media" |
41 MEDIA_URL = BASE_STATIC_URL + "media" |
42 |
42 |
43 # Absolute path to the directory static files should be collected to. |
43 # Absolute path to the directory static files should be collected to. |
44 # Don't put anything in this directory yourself; store your static files |
44 # Don't put anything in this directory yourself; store your static files |
45 # in apps' "static/" subdirectories and in STATICFILES_DIRS. |
45 # in apps' "static/" subdirectories and in STATICFILES_DIRS. |
46 # Example: "/home/media/media.lawrence.com/static/" |
46 # Example: "/home/media/media.lawrence.com/static/" |
47 STATIC_ROOT = os.path.abspath(BASE_ROOT + "../../web/static/site").rstrip("/")+"/" |
47 STATIC_ROOT = os.path.abspath(BASE_ROOT + "../../static/site").rstrip("/")+"/" |
48 |
48 |
49 # URL prefix for static files. |
49 # URL prefix for static files. |
50 # Example: "http://media.lawrence.com/static/" |
50 # Example: "http://media.lawrence.com/static/" |
51 STATIC_URL = BASE_STATIC_URL + "site" |
51 STATIC_URL = BASE_STATIC_URL + "site" |
52 |
52 |