update editor
[redakcja.git] / apps / wiki / urls.py
1 # -*- coding: utf-8
2 from django.conf.urls import url
3 from wiki import views
4
5 urlpatterns = (
6     url(r'^edit/(?P<pk>[^/]+)/$', views.editor, name="wiki_editor"),
7
8     url(r'^gallery/(?P<directory>[^/]+)/$', views.gallery, name="wiki_gallery"),
9
10     url(r'^history/(?P<doc_id>\d+)/$', views.history, name="wiki_history"),
11
12     url(r'^text/(?P<doc_id>\d+)/$', views.text, name="wiki_text"),
13
14     url(r'^revert/(?P<doc_id>\d+)/$', views.revert, name='wiki_revert'),
15
16     url(r'^diff/(?P<doc_id>\d+)/$', views.diff, name="wiki_diff"),
17 )