mirror of
https://gitlab.com/animath/si/plateforme.git
synced 2024-11-26 18:47:10 +00:00
40aa2e520f
Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
14 lines
444 B
Python
14 lines
444 B
Python
# Copyright (C) 2020 by Animath
|
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
from .views import PaymentViewSet, RegistrationViewSet, VolunteersViewSet
|
|
|
|
|
|
def register_registration_urls(router, path):
|
|
"""
|
|
Configure router for registration REST API.
|
|
"""
|
|
router.register(path + "/payment", PaymentViewSet)
|
|
router.register(path + "/registration", RegistrationViewSet)
|
|
router.register(path + "/volunteers", VolunteersViewSet)
|