X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/e8a39561742ca18333e696b7b118b8edcc8aa3ea..b9bf77dc8f2d4b1b64bd7a29730bec3e3f885a6e:/wolnelektury/urls.py diff --git a/wolnelektury/urls.py b/wolnelektury/urls.py index 5586bf072..ed0228aa3 100644 --- a/wolnelektury/urls.py +++ b/wolnelektury/urls.py @@ -18,6 +18,8 @@ urlpatterns = patterns('', url(r'^opds/', include('opds.urls')), url(r'^sugestia/', include('suggest.urls')), url(r'^lesmianator/', include('lesmianator.urls')), + url(r'^przypisy/', include('dictionary.urls')), + url(r'^raporty/', include('reporting.urls')), # Static pages url(r'^mozesz-nam-pomoc/$', 'infopages.views.infopage', {'slug': 'help_us'}, name='help_us'), @@ -33,6 +35,7 @@ urlpatterns = patterns('', url(r'^uzytkownicy/zaloguj/$', 'catalogue.views.login', name='login'), url(r'^uzytkownicy/wyloguj/$', 'catalogue.views.logout_then_redirect', name='logout'), url(r'^uzytkownicy/utworz/$', 'catalogue.views.register', name='register'), + url(r'^uzytkownicy/login/$', 'django.contrib.auth.views.login', name='simple_login'), # API (r'^api/', include('api.urls')), @@ -42,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')), )