woblink fixes
[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.urls import path
5 from . import views
6
7
8 urlpatterns = [
9     path('edit/<slug:slug>/',
10         views.editor, name="wiki_img_editor"),
11
12     path('readonly/<slug:slug>/',
13         views.editor_readonly, name="wiki_img_editor_readonly"),
14
15     path('text/<int:image_id>/',
16         views.text, name="wiki_img_text"),
17
18     path('history/<int:object_id>/',
19         views.history, name="wiki_img_history"),
20
21     path('revert/<int:object_id>/',
22         views.revert, name='wiki_img_revert'),
23
24     path('diff/<int:object_id>/', views.diff, name="wiki_img_diff"),
25     path('pubmark/<int:object_id>/', views.pubmark, name="wiki_img_pubmark"),
26 ]