summaryrefslogtreecommitdiff
path: root/chimere/urls.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2016-05-27 13:13:23 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2016-05-27 13:13:47 +0200
commit49c32c2cca03f812d6bfb92ec9678f709a84d956 (patch)
tree11f4cfc9abf4f097b97fdba67162c824e75ebbd2 /chimere/urls.py
parent9fe603b08813a2a0f95a5f2db702dac66adb4e15 (diff)
downloadChimère-49c32c2cca03f812d6bfb92ec9678f709a84d956.tar.bz2
Chimère-49c32c2cca03f812d6bfb92ec9678f709a84d956.zip
Filter action available and redirect properly
Diffstat (limited to 'chimere/urls.py')
-rw-r--r--chimere/urls.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/chimere/urls.py b/chimere/urls.py
index e0153f0..b5fa815 100644
--- a/chimere/urls.py
+++ b/chimere/urls.py
@@ -99,8 +99,10 @@ urlpatterns += patterns(
name="contact"),
url(r'^(?P<area_name>[a-zA-Z0-9_-]+/)?edit/$', 'edit',
name="edit"),
- url(r'^(?P<area_name>[a-zA-Z0-9_-]+/)?edit/(?P<item_id>\w+)/'
- r'(?P<submited>\w+)?$', 'edit', name="edit-item"),
+ url(r'^(?P<area_name>[a-zA-Z0-9_-]+/)?edit-marker/'
+ r'(?P<submited>\w+)?$', 'editMarker', name="editmarker"),
+ url(r'^(?P<area_name>[a-zA-Z0-9_-]+/)?edit-marker/(?P<item_id>\w+)/'
+ r'(?P<submited>\w+)?$', 'editMarker', name="edit-item"),
url(r'^(?P<area_name>[a-zA-Z0-9_-]+/)?edit-route/$', 'editRoute',
name="editroute"),
url(r'^(?P<area_name>[a-zA-Z0-9_-]+/)?edit-route/(?P<item_id>\w+)/'