X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/876c24227952faa17eda5d706cb0b3316d5ffe24..9e65086e2b3ab261138a95bfe8b2a17947c630dd:/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}),