2 from django.conf.urls import patterns, url
5 urlpatterns = patterns(
7 url(r'^edit/(?P<pk>[^/]+)/$',
8 'editor', name="wiki_editor"),
10 url(r'^gallery/(?P<directory>[^/]+)/$',
11 'gallery', name="wiki_gallery"),
13 url(r'^history/(?P<doc_id>\d+)/$',
14 'history', name="wiki_history"),
16 url(r'^text/(?P<doc_id>\d+)/$',
17 'text', name="wiki_text"),
19 url(r'^revert/(?P<doc_id>\d+)/$',
20 'revert', name='wiki_revert'),
22 url(r'^diff/(?P<doc_id>\d+)/$', 'diff', name="wiki_diff"),