X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/357027375ff8867f42ca34bcbfb5a78b5b185fc3..c7a9e4c678b5d71b71767513304a201588052a5c:/src/libraries/urls.py diff --git a/src/libraries/urls.py b/src/libraries/urls.py index 754b17e44..ae1635948 100644 --- a/src/libraries/urls.py +++ b/src/libraries/urls.py @@ -5,7 +5,8 @@ from django.conf.urls import patterns, url -urlpatterns = patterns('libraries.views', +urlpatterns = patterns( + 'libraries.views', url(r'^$', 'main_view', name='libraries_main_view'), url(r'^(?P[a-zA-Z0-9_-]+)$', 'catalog_view', name='libraries_catalog_view'), url(r'^(?P[a-zA-Z0-9_-]+)/(?P[a-zA-Z0-9_-]+)$', 'library_view', name='libraries_library_view'),