Code

Ticket #2891: 2891.patch

File 2891.patch, 994 bytes (added by Collin Grady <cgrady@…>, 7 years ago)

patch updated against [5722]

  • django/conf/project_template/settings.py

     
    4444 
    4545# URL prefix for admin media -- CSS, JavaScript and images. Make sure to use a 
    4646# trailing slash. 
    47 # Examples: "http://foo.com/media/", "/media/". 
    48 ADMIN_MEDIA_PREFIX = '/media/' 
     47# Examples: "http://foo.com/admin_media/", "/admin_media/". 
     48ADMIN_MEDIA_PREFIX = '/admin_media/' 
    4949 
    5050# Make this unique, and don't share it with anybody. 
    5151SECRET_KEY = '' 
  • docs/settings.txt

     
    183183ADMIN_MEDIA_PREFIX 
    184184------------------ 
    185185 
    186 Default: ``'/media/'`` 
     186Default: ``'/admin_media/'`` 
    187187 
    188188The URL prefix for admin media -- CSS, JavaScript and images. Make sure to use 
    189189a trailing slash.