diff options
Diffstat (limited to 'chimere/urls.py')
-rw-r--r-- | chimere/urls.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/chimere/urls.py b/chimere/urls.py index 5fd8002..de7f3f5 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="editmarker-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+)/' @@ -114,6 +116,8 @@ urlpatterns += patterns( url(r'^(?P<area_name>[a-zA-Z0-9_-]+/)?getDetail/' r'(?P<key>[a-zA-Z_-]*\d+)/?$', 'getDetail', name="get_detail"), + url(r'^(?P<area_name>[a-zA-Z0-9_-]+/)?getDetail/undefined', + 'getDetailUndefined', name="get_detail_undefined"), url(r'^(?P<area_name>[a-zA-Z0-9_-]+/)?getDescriptionDetail/' r'?(?P<category_id>\d+)/?$', 'getDescriptionDetail', name="get_description_detail"), |