From 8ea172747558de9a9b516a2deeb49b5f5fa0e10c Mon Sep 17 00:00:00 2001 From: Skia Date: Mon, 11 Jan 2016 10:13:30 +0100 Subject: [PATCH] Fix URLs --- core/urls.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/core/urls.py b/core/urls.py index 73a8a5ad..3dcde1f0 100644 --- a/core/urls.py +++ b/core/urls.py @@ -29,11 +29,11 @@ urlpatterns = [ # Page views url(r'^page/$', PageListView.as_view(), name='page_list'), - url(r'^page/(?P[a-z0-9/\-_]*)/edit$', PageEditView.as_view(), name='page_edit'), - url(r'^page/(?P[a-z0-9/\-_]*)/prop$', PagePropView.as_view(), name='page_prop'), - url(r'^page/(?P[a-z0-9/\-_]*)/hist$', PageHistView.as_view(), name='page_hist'), - url(r'^page/(?P[a-z0-9/\-_]*)/rev/(?P[0-9]+)/', PageRevView.as_view(), name='page_rev'), - url(r'^page/(?P[a-z0-9/\-_]*)/$', PageView.as_view(), name='page'), + url(r'^page/(?P[a-z0-9/-_]*)/edit$', PageEditView.as_view(), name='page_edit'), + url(r'^page/(?P[a-z0-9/-_]*)/prop$', PagePropView.as_view(), name='page_prop'), + url(r'^page/(?P[a-z0-9/-_]*)/hist$', PageHistView.as_view(), name='page_hist'), + url(r'^page/(?P[a-z0-9/-_]*)/rev/(?P[0-9]+)/', PageRevView.as_view(), name='page_rev'), + url(r'^page/(?P[a-z0-9/-_]*)/$', PageView.as_view(), name='page'), # API url(r'^api/markdown$', render_markdown, name='api_markdown'),