X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/c52436a7e25876ee3509df2467c2a9ef33303436..d64a8451dafc98e8f71455a55d123d22f3368ef9:/platforma/urls.py diff --git a/platforma/urls.py b/platforma/urls.py index 2e50e4b0..904ad447 100644 --- a/platforma/urls.py +++ b/platforma/urls.py @@ -23,5 +23,7 @@ urlpatterns = patterns('', {'document_root': settings.MEDIA_ROOT, 'show_indexes': True}), url(r'^%s(?P.+)$' % settings.STATIC_URL[1:], 'django.views.static.serve', {'document_root': settings.STATIC_ROOT, 'show_indexes': True}), - url(r'^', include('wiki.urls')), + + url(r'^$', 'django.views.generic.simple.redirect_to', {'url': '/documents/'}), + url(r'^documents/', include('wiki.urls')), )