1
0
mirror of https://gitlab.com/animath/si/plateforme.git synced 2024-12-25 05:42:23 +00:00

Fix API router with newer version

Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
This commit is contained in:
Emmy D'Anello 2024-10-21 19:40:19 +02:00
parent 6cdf6331db
commit d24f8cab16
Signed by: ynerant
GPG Key ID: 3A75C55819C8CF85

View File

@ -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")