Properies pane.
[redakcja.git] / src / wiki_img / urls.py
1 # This file is part of FNP-Redakcja, licensed under GNU Affero GPLv3 or later.
2 # Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
3 #
4 from django.conf.urls import url
5 from . import views
6
7
8 urlpatterns = [
9     url(r'^edit/(?P<slug>[^/]+)/$',
10         views.editor, name="wiki_img_editor"),
11
12     url(r'^readonly/(?P<slug>[^/]+)/$',
13         views.editor_readonly, name="wiki_img_editor_readonly"),
14
15     url(r'^text/(?P<image_id>\d+)/$',
16         views.text, name="wiki_img_text"),
17
18     url(r'^history/(?P<object_id>\d+)/$',
19         views.history, name="wiki_img_history"),
20
21     url(r'^revert/(?P<object_id>\d+)/$',
22         views.revert, name='wiki_img_revert'),
23
24     url(r'^diff/(?P<object_id>\d+)/$', views.diff, name="wiki_img_diff"),
25     url(r'^pubmark/(?P<object_id>\d+)/$', views.pubmark, name="wiki_img_pubmark"),
26 ]