2 from django.conf.urls.defaults import *
5 urlpatterns = patterns('wiki_img.views',
6 url(r'^edit/(?P<slug>[^/]+)/$',
7 'editor', name="wiki_img_editor"),
9 url(r'^readonly/(?P<slug>[^/]+)/$',
10 'editor_readonly', name="wiki_img_editor_readonly"),
12 url(r'^text/(?P<image_id>\d+)/$',
13 'text', name="wiki_img_text"),
15 url(r'^history/(?P<object_id>\d+)/$',
16 'history', name="wiki_img_history"),
18 url(r'^revert/(?P<object_id>\d+)/$',
19 'revert', name='wiki_img_revert'),
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"),