~widelands-dev/widelands-website/trunk

« back to all changes in this revision

Viewing changes to wiki/static_urls.py

  • Committer: kaputtnik
  • Date: 2019-05-30 18:20:02 UTC
  • mto: This revision was merged to the branch mainline in revision 540.
  • Revision ID: kaputtnik-20190530182002-g7l91m1xo28clghv
adjusted README; first commit on the new server

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
from django.conf.urls.defaults import *
2
 
from django.conf import settings
3
 
 
4
 
 
5
 
urlpatterns = patterns('',
6
 
   url(r'^site_media/(?P<path>.*)$',
7
 
       'django.views.static.serve',
8
 
       {'document_root': settings.STATIC_MEDIA_PATH},
9
 
       name='wiki_static_media'),
10
 
)