Added "delete" button to annotations. Fixes #554.
[redakcja.git] / apps / wiki / urls.py
1 from django.conf.urls.defaults import *
2
3 urlpatterns = patterns('wiki.views',
4     url(r'^$',
5         'document_list', name='wiki_doclist'),
6
7     url(r'^create/(?P<name>[^/]+)',
8         'document_create_missing', name='wiki_create_missing'),
9
10     url(r'^gallery/(?P<directory>[^/]+)$',
11         'document_gallery', name="wiki_gallery"),
12     url(r'^(?P<name>[^/]+)/history$',
13         'document_history', name="wiki_history"),
14     url(r'^(?P<name>[^/]+)/text$',
15         'document_text', name="wiki_text"),
16     url(r'^(?P<name>[^/]+)/publish/(?P<version>\d+)$',
17         'document_publish', name="wiki_publish"),
18     url(r'^(?P<name>[^/]+)/diff$',
19         'document_diff', name="wiki_diff"),
20     url(r'^(?P<name>[^/]+)/tags$',
21         'document_add_tag', name="wiki_add_tag"),
22     url(r'^(?P<name>[^/]+)/publish$', 'document_publish'),
23
24     url(r'^(?P<name>[^/]+)/readonly$',
25         'document_detail_readonly', name="wiki_details_readonly"),
26
27     url(r'^(?P<name>[^/]+)$',
28         'document_detail', name="wiki_details"),
29 )