Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: ed45b1e133
Fetching contributors…

Cannot retrieve contributors at this time

13 lines (10 sloc) 0.372 kB
from django.conf import settings
from django.conf.urls.defaults import *
urlpatterns = patterns('',
(r'^$', 'django.views.generic.simple.redirect_to', {'url': u'/wiki/Main_Page'}),
(r'^wiki/', include('djiki.urls')),
)
if settings.DEBUG:
urlpatterns += patterns('',
(r'^media/(?P<path>.*)$', 'django.views.static.serve', {'document_root': settings.MEDIA_ROOT})
)
Jump to Line
Something went wrong with that request. Please try again.