settings.py
changeset 62 db103856505e
parent 48 8670846be981
child 197 3b28b1f9bf06
equal deleted inserted replaced
61:708dd49d531b 62:db103856505e
    33 # to load the internationalization machinery.
    33 # to load the internationalization machinery.
    34 USE_I18N = True
    34 USE_I18N = True
    35 
    35 
    36 # Absolute path to the directory that holds media.
    36 # Absolute path to the directory that holds media.
    37 # Example: "/home/media/media.lawrence.com/"
    37 # Example: "/home/media/media.lawrence.com/"
    38 MEDIA_ROOT = ''
    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 = ''
    43 MEDIA_URL = 'http://localhost:8000/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/'