-)
-
-urlpatterns += patterns(
- 'catalogue.views',
- url(r'^$', 'catalogue', name='catalogue'),
-
- url(r'^autor/$', 'tag_catalogue', {'category': 'author'}, name='author_catalogue'),
- url(r'^epoka/$', 'tag_catalogue', {'category': 'epoch'}, name='epoch_catalogue'),
- url(r'^gatunek/$', 'tag_catalogue', {'category': 'genre'}, name='genre_catalogue'),
- url(r'^rodzaj/$', 'tag_catalogue', {'category': 'kind'}, name='kind_catalogue'),
- url(r'^motyw/$', 'tag_catalogue', {'category': 'theme'}, name='theme_catalogue'),
-
- url(r'^galeria/$', 'tagged_object_list', {'gallery': True}, name='gallery'),
- url(r'^kolekcje/$', 'collections', name='catalogue_collections'),
-
- url(r'^lektury/$', 'tagged_object_list', name='book_list'),
- url(r'^lektury/(?P<slug>[a-zA-Z0-9-]+)/$', 'collection', name='collection'),
- url(r'^audiobooki/$', 'audiobook_list', name='audiobook_list'),
- url(r'^daisy/$', 'daisy_list', name='daisy_list'),
- url(r'^tags/$', 'tags_starting_with', name='hint'),
- url(r'^jtags/?$', 'json_tags_starting_with', name='jhint'),
+
+ url(r'^$', views.catalogue, name='catalogue'),
+
+ url(r'^autor/$', views.tag_catalogue, {'category': 'author'}, name='author_catalogue'),
+ url(r'^epoka/$', views.tag_catalogue, {'category': 'epoch'}, name='epoch_catalogue'),
+ url(r'^gatunek/$', views.tag_catalogue, {'category': 'genre'}, name='genre_catalogue'),
+ url(r'^rodzaj/$', views.tag_catalogue, {'category': 'kind'}, name='kind_catalogue'),
+ url(r'^motyw/$', views.tag_catalogue, {'category': 'theme'}, name='theme_catalogue'),
+
+ url(r'^galeria/$', views.gallery, name='gallery'),
+ url(r'^kolekcje/$', views.collections, name='catalogue_collections'),
+
+ url(r'^lektury/$', views.literature, name='book_list'),
+ url(r'^lektury/(?P<slug>[a-zA-Z0-9-]+)/$', views.collection, name='collection'),
+ url(r'^audiobooki/$', views.audiobooks, name='audiobook_list'),
+ url(r'^daisy/$', views.daisy_list, name='daisy_list'),