~widelands-dev/widelands-website/django_staticfiles

« back to all changes in this revision

Viewing changes to wiki/static_urls.py

  • Committer: franku
  • Date: 2016-12-13 18:28:51 UTC
  • mto: This revision was merged to the branch mainline in revision 443.
  • Revision ID: somal@arcor.de-20161213182851-bo5ebf8pdvw5beua
run the script

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
 
4
4
 
5
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
 
)
 
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
                       )