24d7448a48765f3abfed365e4b5aa647c8b1bf8e
[redakcja.git] / apps / cover / urls.py
1 # -*- coding: utf-8
2 from django.conf.urls.defaults import patterns, url
3
4
5 urlpatterns = patterns('cover.views',
6     url(r'^preview/$', 'preview_from_xml', name='cover_preview'),
7     url(r'^preview/(?P<book>[^/]+)/$', 'preview', name='cover_preview'),
8     url(r'^preview/(?P<book>[^/]+)/(?P<chunk>[^/]+)/$',
9             'preview', name='cover_preview'),
10     url(r'^preview/(?P<book>[^/]+)/(?P<chunk>[^/]+)/(?P<rev>\d+)/$',
11             'preview', name='cover_preview'),
12 )