1
0
mirror of https://gitlab.com/animath/si/plateforme.git synced 2024-12-26 19:42:22 +00:00
plateforme-tfjm2/registration/api/urls.py

14 lines
444 B
Python
Raw Normal View History

2021-03-29 14:24:58 +00:00
# Copyright (C) 2020 by Animath
# SPDX-License-Identifier: GPL-3.0-or-later
from .views import PaymentViewSet, RegistrationViewSet, VolunteersViewSet
2021-03-29 14:24:58 +00:00
def register_registration_urls(router, path):
"""
Configure router for registration REST API.
"""
router.register(path + "/payment", PaymentViewSet)
2021-03-29 14:24:58 +00:00
router.register(path + "/registration", RegistrationViewSet)
router.register(path + "/volunteers", VolunteersViewSet)