1
0
mirror of https://gitlab.com/animath/si/plateforme.git synced 2025-07-28 09:45:26 +02:00
Files
api
chat
docs
draw
locale
logs
participation
registration
api
__init__.py
serializers.py
urls.py
views.py
management
migrations
templates
templatetags
__init__.py
admin.py
apps.py
forms.py
models.py
search_indexes.py
signals.py
tables.py
tests.py
urls.py
views.py
tfjm
.bashrc
.dockerignore
.gitignore
.gitlab-ci.yml
Dockerfile
LICENSE
README.md
entrypoint.sh
manage.py
nginx_tfjm.conf
requirements.txt
tfjm.cron
tox.ini
plateforme-tfjm2/registration/api/urls.py

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)