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