Mercurial > public > sg101
comparison gpp/settings/base.py @ 570:0a0a069ab645
For Django 1.4, remove the obsolete setting ADMIN_MEDIA_PREFIX.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Wed, 02 May 2012 20:38:17 -0500 |
parents | 9a68fd3bd8a5 |
children | acfa5162d72f |
comparison
equal
deleted
inserted
replaced
569:3fe2eced1be7 | 570:0a0a069ab645 |
---|---|
47 | 47 |
48 # URL that handles the media served from MEDIA_ROOT. Make sure to use a | 48 # URL that handles the media served from MEDIA_ROOT. Make sure to use a |
49 # trailing slash if there is a path component (optional in other cases). | 49 # trailing slash if there is a path component (optional in other cases). |
50 # Examples: "http://media.lawrence.com", "http://example.com/media/" | 50 # Examples: "http://media.lawrence.com", "http://example.com/media/" |
51 MEDIA_URL = '/media/' | 51 MEDIA_URL = '/media/' |
52 | |
53 # URL prefix for admin media -- CSS, JavaScript and images. Make sure to use a | |
54 # trailing slash. | |
55 # Examples: "http://foo.com/media/", "/media/". | |
56 ADMIN_MEDIA_PREFIX = '/static/admin/' | |
57 | 52 |
58 # Staticfiles settings: | 53 # Staticfiles settings: |
59 STATICFILES_DIRS = [ | 54 STATICFILES_DIRS = [ |
60 os.path.abspath(os.path.join(PROJECT_PATH, '..', 'static')), | 55 os.path.abspath(os.path.join(PROJECT_PATH, '..', 'static')), |
61 ] | 56 ] |