Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: fa8031ee46
Fetching contributors…

Cannot retrieve contributors at this time

18 lines (16 sloc) 1.32 kb
from django.conf.urls.defaults import *
from . import views
urlpatterns = patterns('',
url(r'^$', views.index, name='djiki-index'),
url(r'^(?P<title>[^/]+)$', views.view, name='djiki-page-view'),
url(r'^(?P<title>[^/]+)/edit/$', views.edit, name='djiki-page-edit'),
url(r'^(?P<title>[^/]+)/history/$', views.history, name='djiki-page-history'),
url(r'^(?P<title>[^/]+)/history/(?P<revision_pk>[0-9]+)/$', views.view, name='djiki-page-revision'),
url(r'^(?P<title>[^/]+)/diff/$', views.diff, name='djiki-page-diff'),
url(r'^(?P<title>[^/]+)/undo/(?P<revision_pk>[0-9]+)/$', views.undo, name='djiki-page-undo'),
url(r'^(?P<title>[^/]+)/revert/(?P<revision_pk>[0-9]+)/$', views.revert, name='djiki-page-revert'),
url(r'^image/$', views.image_new, name='djiki-image-new'),
url(r'^image/(?P<name>[^/]+)$', views.image_view, name='djiki-image-view'),
url(r'^image/(?P<name>[^/]+)/edit/$', views.image_edit, name='djiki-image-edit'),
url(r'^image/(?P<name>[^/]+)/history/$', views.image_history, name='djiki-image-history'),
)
Jump to Line
Something went wrong with that request. Please try again.