settings.py
changeset 293 f4e25004169d
parent 271 485b24cc439b
equal deleted inserted replaced
292:b3f4888a78a1 293:f4e25004169d
    43 # calendars according to the current locale
    43 # calendars according to the current locale
    44 USE_L10N = True
    44 USE_L10N = True
    45 
    45 
    46 # Absolute filesystem path to the directory that will hold user-uploaded files.
    46 # Absolute filesystem path to the directory that will hold user-uploaded files.
    47 # Example: "/home/media/media.lawrence.com/"
    47 # Example: "/home/media/media.lawrence.com/"
    48 MEDIA_ROOT = './media/'
    48 MEDIA_ROOT = './static/'
    49 
    49 
    50 # URL that handles the media served from MEDIA_ROOT. Make sure to use a
    50 # URL that handles the media served from MEDIA_ROOT. Make sure to use a
    51 # trailing slash if there is a path component (optional in other cases).
    51 # trailing slash if there is a path component (optional in other cases).
    52 # Examples: "http://media.lawrence.com", "http://example.com/media/"
    52 # Examples: "http://media.lawrence.com", "http://example.com/media/"
    53 MEDIA_URL = '/media/'
    53 MEDIA_URL = '/static/'
    54 
    54 
    55 # URL prefix for admin media -- CSS, JavaScript and images. Make sure to use a
    55 # URL prefix for admin media -- CSS, JavaScript and images. Make sure to use a
    56 # trailing slash.
    56 # trailing slash.
    57 # Examples: "http://foo.com/media/", "/media/".
    57 # Examples: "http://foo.com/media/", "/media/".
    58 ADMIN_MEDIA_PREFIX = '/media/'
    58 ADMIN_MEDIA_PREFIX = '/media/'