Changeset 9395 for src/django_gheat/settings.py
- Timestamp:
- Jul 12, 2011, 3:28:05 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/django_gheat/settings.py
r9394 r9395 59 59 # Absolute path to the directory that holds media. 60 60 # Example: "/home/media/media.lawrence.com/" 61 MEDIA_ROOT = '' 61 MEDIA_ROOT = os.path.join(PROJECT_HOME,'sitemedia') 62 62 63 63 64 # URL that handles the media served from MEDIA_ROOT. Make sure to use a 64 65 # trailing slash if there is a path component (optional in other cases). 65 66 # Examples: "http://media.lawrence.com", "http://example.com/media/" 66 MEDIA_URL = '' 67 68 # URL prefix for admin media -- CSS, JavaScript and images. Make sure to use a 69 # trailing slash. 70 # Examples: "http://foo.com/media/", "/media/". 71 ADMIN_MEDIA_PREFIX = '/media/' 67 MEDIA_URL = '/media/' 72 68 73 69 # Absolute path to the directory static files should be collected to. … … 75 71 # in apps' "static/" subdirectories and in STATICFILES_DIRS. 76 72 # Example: "/home/media/media.lawrence.com/static/" 77 STATIC_ROOT = 'sitestatic'73 STATIC_ROOT = os.path.join(PROJECT_HOME,'sitestatic') 78 74 79 75 # URL prefix for static files.
Note:
See TracChangeset
for help on using the changeset viewer.