Browse Source

pyi2phosts/settings.py: define default media root and url

pull/1/head
Hidden Z 14 years ago
parent
commit
e8d0c8b07a
  1. 4
      pyi2phosts/settings.py

4
pyi2phosts/settings.py

@ -48,12 +48,12 @@ USE_L10N = True @@ -48,12 +48,12 @@ USE_L10N = True
# Absolute path to the directory that holds media.
# Example: "/home/media/media.lawrence.com/"
MEDIA_ROOT = ''
MEDIA_ROOT = os.path.join(PROJECT_ROOT, 'static/')
# URL that handles the media served from MEDIA_ROOT. Make sure to use a
# trailing slash if there is a path component (optional in other cases).
# Examples: "http://media.lawrence.com", "http://example.com/media/"
MEDIA_URL = ''
MEDIA_URL = '/static/'
# URL prefix for admin media -- CSS, JavaScript and images. Make sure to use a
# trailing slash.

Loading…
Cancel
Save