From 1d2c09f8f392e6d3c4b10590450ee368d1954156 Mon Sep 17 00:00:00 2001
From: jpic <jamespic@gmail.com>
Date: Thu, 11 Feb 2016 20:58:15 +0100
Subject: [PATCH] Fixed url conflicts

---
 memopol/urls.py | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/memopol/urls.py b/memopol/urls.py
index a7860917..cf8d2b7e 100644
--- a/memopol/urls.py
+++ b/memopol/urls.py
@@ -19,21 +19,21 @@ urlpatterns = [
         views.RepresentativeDetail.as_view(),
     ),
     url(
-        r'legislature/representative/$',
+        r'^legislature/representative/$',
         views.RepresentativeList.as_view(),
     ),
     url(
-        r'votes/dossier/$',
+        r'^votes/dossier/$',
         views.DossierList.as_view(),
     ),
 
     url(r'^admin/', include(admin.site.urls)),
-    url(r'legislature/', include('representatives.urls',
+    url(r'^legislature/', include('representatives.urls',
         namespace='representatives')),
-    url(r'votes/', include('representatives_votes.urls',
+    url(r'^votes/', include('representatives_votes.urls',
         namespace='representatives_votes')),
-    url(r'positions/', include('representatives_positions.urls',
+    url(r'^positions/', include('representatives_positions.urls',
         namespace='representatives_positions')),
-    url(r'api/', include(api.router.urls)),
+    url(r'^api/', include(api.router.urls)),
     url(r'^$', generic.TemplateView.as_view(template_name='home.html')),
 ]
-- 
GitLab