Librarian in regular requirements.
[redakcja.git] / apps / wiki_img / urls.py
1 # -*- coding: utf-8
2 from django.conf.urls import patterns, url
3
4
5 urlpatterns = patterns('wiki_img.views',
6     url(r'^edit/(?P<slug>[^/]+)/$',
7         'editor', name="wiki_img_editor"),
8
9     url(r'^readonly/(?P<slug>[^/]+)/$',
10         'editor_readonly', name="wiki_img_editor_readonly"),
11
12     url(r'^text/(?P<image_id>\d+)/$',
13         'text', name="wiki_img_text"),
14
15     url(r'^history/(?P<object_id>\d+)/$',
16         'history', name="wiki_img_history"),
17
18     url(r'^revert/(?P<object_id>\d+)/$',
19         'revert', name='wiki_img_revert'),
20
21     url(r'^diff/(?P<object_id>\d+)/$', 'diff', name="wiki_img_diff"),
22     url(r'^pubmark/(?P<object_id>\d+)/$', 'pubmark', name="wiki_img_pubmark"),
23
24 )