2021-03-29 16:24:58 +02:00
|
|
|
# Copyright (C) 2020 by Animath
|
|
|
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
|
2024-03-23 11:47:42 +01:00
|
|
|
from .views import PaymentViewSet, RegistrationViewSet, VolunteersViewSet
|
2021-03-29 16:24:58 +02:00
|
|
|
|
|
|
|
|
|
|
|
def register_registration_urls(router, path):
|
|
|
|
"""
|
|
|
|
Configure router for registration REST API.
|
|
|
|
"""
|
2024-03-23 11:36:09 +01:00
|
|
|
router.register(path + "/payment", PaymentViewSet)
|
2021-03-29 16:24:58 +02:00
|
|
|
router.register(path + "/registration", RegistrationViewSet)
|
2024-10-21 19:40:19 +02:00
|
|
|
router.register(path + "/volunteers", VolunteersViewSet, basename="volunteers")
|