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-]+)/zestawy/', 'book_sets'),
9 url(r'^zestawy/nowy/$', 'new_set'),
10 url(r'^lektura/(?P<slug>[a-zA-Z0-9-]+)/$', 'book_detail'),
11 url(r'^tags/$', 'tags_starting_with', name='hint'),
12 url(r'^szukaj/$', 'search', name='search'),
13 url(r'^(?P<tags>[a-zA-Z-/]+)/$', 'tagged_object_list', name='tagged_object_list'),