mirror of
https://gitlab.com/animath/si/plateforme.git
synced 2025-06-28 03:12:23 +02:00
Add API endpoint to get volunteers names and emails, for tournament organizers only, to easily add juries
Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
# Copyright (C) 2020 by Animath
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
from .views import PaymentViewSet, RegistrationViewSet
|
||||
from .views import PaymentViewSet, RegistrationViewSet, VolunteersViewSet
|
||||
|
||||
|
||||
def register_registration_urls(router, path):
|
||||
@ -10,3 +10,4 @@ def register_registration_urls(router, path):
|
||||
"""
|
||||
router.register(path + "/payment", PaymentViewSet)
|
||||
router.register(path + "/registration", RegistrationViewSet)
|
||||
router.register(path + "/volunteers", VolunteersViewSet)
|
||||
|
Reference in New Issue
Block a user