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