X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/357027375ff8867f42ca34bcbfb5a78b5b185fc3..2395dcee4ca15b655b7500d6105176d7635fff1f:/src/libraries/urls.py?ds=inline 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'),