From 737cddd8776efc4132c6810375a1c488f5799484 Mon Sep 17 00:00:00 2001 From: xabiugarte Date: Wed, 5 Jun 2019 14:08:57 +0000 Subject: [PATCH] Fix on delete REST url --- server/rest/urls.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/rest/urls.py b/server/rest/urls.py index b91fd45..847ab60 100644 --- a/server/rest/urls.py +++ b/server/rest/urls.py @@ -20,7 +20,7 @@ views.metadata_unapplied, name='metadata_unapplied'), re_path(r'metadata/get/(?P[A-F\d]{8}\-(?:[A-F\d]{4}\-){3}[A-F\d]{12})$', views.metadata_get, name='metadata_get'), - re_path(r'metadata/delete/(?P[A-F\d]{8}\-(?:[A-F\d]{4}\-){3}[A-F\d]{12})/(?P<_id>[A-F\d]{26})$', + re_path(r'metadata/delete/(?P[A-F\d]{8}\-(?:[A-F\d]{4}\-){3}[A-F\d]{12})/(?P<_id>[A-Fa-f\d]{26})$', views.metadata_delete, name='metadata_delete'), re_path(r'metadata/created/(?P[A-F\d]{8}\-(?:[A-F\d]{4}\-){3}[A-F\d]{12})$', views.metadata_created, name='metadata_created'),