2021-03-29 14:24:58 +00:00
|
|
|
# Copyright (C) 2020 by Animath
|
|
|
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
|
2024-03-23 10:47:42 +00:00
|
|
|
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.
|
|
|
|
"""
|
2024-03-23 10:36:09 +00:00
|
|
|
router.register(path + "/payment", PaymentViewSet)
|
2021-03-29 14:24:58 +00:00
|
|
|
router.register(path + "/registration", RegistrationViewSet)
|
2024-03-23 10:47:42 +00:00
|
|
|
router.register(path + "/volunteers", VolunteersViewSet)
|