Browse Source

add STATIC_URL/STATIC_ROOT settings

Natenom/support-murmur-13-1446181288462
Michael Ziegler 13 years ago
parent
commit
de27f8e3e6
  1. 2
      pyweb/settings.py

2
pyweb/settings.py

@ -196,6 +196,8 @@ MEDIA_ROOT = join( MUMBLE_DJANGO_ROOT, 'htdocs' )
# URL that handles the media served from MEDIA_ROOT.
MEDIA_URL = MUMBLE_DJANGO_URL + 'static/'
STATIC_URL = MEDIA_URL
STATIC_ROOT = MEDIA_ROOT
## URL to static files of the currently active theme
THEME_URL = '%sstatic/themes/%s/' % ( MUMBLE_DJANGO_URL, THEME )

Loading…
Cancel
Save