From 510a4d0c1e4496bee580f8a1dff2f3674fdb727c Mon Sep 17 00:00:00 2001 From: Radek Czajka Date: Thu, 24 Nov 2011 10:30:41 +0100 Subject: [PATCH] 302 for main --- wolnelektury/urls.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wolnelektury/urls.py b/wolnelektury/urls.py index dd3c92cb6..ed0228aa3 100644 --- a/wolnelektury/urls.py +++ b/wolnelektury/urls.py @@ -45,7 +45,8 @@ 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'^$', 'django.views.generic.simple.redirect_to', {'url': 'katalog/'}), + url(r'^$', 'django.views.generic.simple.redirect_to', {'url': 'katalog/', + 'permanent': False}), url(r'^i18n/', include('django.conf.urls.i18n')), ) -- 2.20.1