fa4add39d5f94c7fd7d80f7f4b251184258a9916
[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'^gallery/(?P<directory>[^/]+)$',
8         'document_gallery', name="wiki_gallery"),
9     url(r'^(?P<name>[^/]+)/history$',
10         'document_history', name="wiki_history"),
11     url(r'^(?P<name>[^/]+)/text$',
12         'document_text', name="wiki_text"),
13     url(r'^(?P<name>[^/]+)/publish/(?P<version>\d+)$',
14         'document_publish', name="wiki_publish"),
15     url(r'^(?P<name>[^/]+)/diff$',
16         'document_diff', name="wiki_diff"),
17     url(r'^(?P<name>[^/]+)$',
18         'document_detail', name="wiki_details"),
19 )