1 # -*- coding: utf-8 -*-
2 from django.conf.urls.defaults import *
5 urlpatterns = patterns('catalogue.views',
6 url(r'^$', 'main_page', name='main_page'),
7 url(r'^lektury/', 'book_list'),
8 url(r'^lektura/(?P<slug>[a-zA-Z0-9-]+)/polki/', 'book_sets'),
9 url(r'^fragment/(?P<id>[0-9]+)/polki/', 'fragment_sets'),
10 url(r'^polki/nowa/$', 'new_set'),
11 url(r'^lektura/(?P<slug>[a-zA-Z0-9-]+)/$', 'book_detail'),
12 url(r'^tags/$', 'tags_starting_with', name='hint'),
13 url(r'^szukaj/$', 'search', name='search'),
14 url(r'^(?P<tags>[a-zA-Z-/]+)/$', 'tagged_object_list', name='tagged_object_list'),