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