1 from django.conf.urls.defaults import *
2 from django.conf import settings
4 urlpatterns = patterns('wiki.views',
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 url(r'^(?P<name>[^/]+)$',
23 'document_detail', name="wiki_details"),