add a context menu package
[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
13     url(r'^flickr/$', 'flickr'),
14 )