From: Radek Czajka Date: Tue, 10 Jan 2012 15:22:24 +0000 (+0100) Subject: non-permanent redirect X-Git-Url: https://git.mdrn.pl/wolnelektury.git/commitdiff_plain/baa59549fe58affd61a31bac8642e56a227fd643?ds=sidebyside;hp=--cc non-permanent redirect --- baa59549fe58affd61a31bac8642e56a227fd643 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')), )