302 for main
authorRadek Czajka <radoslaw.czajka@nowoczesnapolska.org.pl>
Thu, 24 Nov 2011 09:30:41 +0000 (10:30 +0100)
committerRadek Czajka <radoslaw.czajka@nowoczesnapolska.org.pl>
Thu, 24 Nov 2011 09:30:41 +0000 (10:30 +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}),
         {'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')),
 )
 
     url(r'^i18n/', include('django.conf.urls.i18n')),
 )