settings.py
changeset 207 2de52334fe6c
parent 197 3b28b1f9bf06
child 212 9f6a6eaf5df3
equal deleted inserted replaced
206:85660d75683d 207:2de52334fe6c
    38 MEDIA_ROOT = './images/'
    38 MEDIA_ROOT = './images/'
    39 
    39 
    40 # URL that handles the media served from MEDIA_ROOT. Make sure to use a
    40 # URL that handles the media served from MEDIA_ROOT. Make sure to use a
    41 # trailing slash if there is a path component (optional in other cases).
    41 # trailing slash if there is a path component (optional in other cases).
    42 # Examples: "http://media.lawrence.com", "http://example.com/media/"
    42 # Examples: "http://media.lawrence.com", "http://example.com/media/"
    43 MEDIA_URL = 'http://10.101.11.72:8000/images/'
    43 MEDIA_URL = '/images/'
    44 
    44 
    45 # URL prefix for admin media -- CSS, JavaScript and images. Make sure to use a
    45 # URL prefix for admin media -- CSS, JavaScript and images. Make sure to use a
    46 # trailing slash.
    46 # trailing slash.
    47 # Examples: "http://foo.com/media/", "/media/".
    47 # Examples: "http://foo.com/media/", "/media/".
    48 ADMIN_MEDIA_PREFIX = '/media/'
    48 ADMIN_MEDIA_PREFIX = '/media/'