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