Ticket #2891: admin_media.patch
File admin_media.patch, 1.2 KB (added by , 18 years ago) |
---|
-
django/conf/project_template/settings.py
39 39 MEDIA_ROOT = '' 40 40 41 41 # URL that handles the media served from MEDIA_ROOT. 42 # Example : "http://media.lawrence.com"42 # Examples: "http://media.lawrence.com", "/media/" 43 43 MEDIA_URL = '' 44 44 45 45 # URL prefix for admin media -- CSS, JavaScript and images. Make sure to use a 46 46 # trailing slash. 47 # Examples: "http://foo.com/ media/", "/media/".48 ADMIN_MEDIA_PREFIX = '/ media/'47 # Examples: "http://foo.com/admin_media/", "/admin_media/". 48 ADMIN_MEDIA_PREFIX = '/admin_media/' 49 49 50 50 # Make this unique, and don't share it with anybody. 51 51 SECRET_KEY = '' -
docs/settings.txt
183 183 ADMIN_MEDIA_PREFIX 184 184 ------------------ 185 185 186 Default: ``'/ media/'``186 Default: ``'/admin_media/'`` 187 187 188 188 The URL prefix for admin media -- CSS, JavaScript and images. Make sure to use 189 189 a trailing slash.