~widelands-dev/widelands-website/trunk

« back to all changes in this revision

Viewing changes to wiki/static_urls.py

  • Committer: Holger Rapp
  • Date: 2009-02-20 12:25:18 UTC
  • Revision ID: holgerrapp@gmx.net-20090220122518-feaq34ta973snnct
Imported wikiapp into our repository, because we did some local changes (users must be logged in to edit wiki pages)

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
)