From d24f8cab16120ef4e80a78d202d4378b3d85bef0 Mon Sep 17 00:00:00 2001 From: Emmy D'Anello Date: Mon, 21 Oct 2024 19:40:19 +0200 Subject: [PATCH] Fix API router with newer version Signed-off-by: Emmy D'Anello --- registration/api/urls.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/registration/api/urls.py b/registration/api/urls.py index 0166d81..d72d354 100644 --- a/registration/api/urls.py +++ b/registration/api/urls.py @@ -10,4 +10,4 @@ def register_registration_urls(router, path): """ router.register(path + "/payment", PaymentViewSet) router.register(path + "/registration", RegistrationViewSet) - router.register(path + "/volunteers", VolunteersViewSet) + router.register(path + "/volunteers", VolunteersViewSet, basename="volunteers")