X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/357027375ff8867f42ca34bcbfb5a78b5b185fc3..76401202dd6d1beaff812b0c7a0a3845568e6397:/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'),