non-permanent redirect
authorRadek Czajka <radoslaw.czajka@nowoczesnapolska.org.pl>
Tue, 10 Jan 2012 15:22:24 +0000 (16:22 +0100)
committerRadek Czajka <radoslaw.czajka@nowoczesnapolska.org.pl>
Tue, 10 Jan 2012 15:22:24 +0000 (16:22 +0100)
wolnelektury/urls.py

index dd3c92c..ed0228a 100644 (file)
@@ -45,7 +45,8 @@ urlpatterns = patterns('',
         {'document_root': settings.MEDIA_ROOT, 'show_indexes': True}),
     url(r'^%s(?P<path>.*)$' % 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')),
 )