X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/876c24227952faa17eda5d706cb0b3316d5ffe24..5c959cbb46c29a03cb6c8bc0e8b5aae5765bf150:/wolnelektury/urls.py diff --git a/wolnelektury/urls.py b/wolnelektury/urls.py index aa9588af4..2a199c7c0 100644 --- a/wolnelektury/urls.py +++ b/wolnelektury/urls.py @@ -35,10 +35,13 @@ 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')), + url(r'^newsearch/', include('search.urls')), + # Static files url(r'^%s(?P.*)$' % settings.MEDIA_URL[1:], 'django.views.static.serve', {'document_root': settings.MEDIA_ROOT, 'show_indexes': True}),