1
0
mirror of https://gitlab.com/animath/si/plateforme.git synced 2025-07-05 07:14:11 +02:00

Add API filters for registration

This commit is contained in:
2021-03-29 16:24:58 +02:00
parent 1df1766753
commit 4f9dfadb71
6 changed files with 80 additions and 1 deletions

View File

@ -0,0 +1,11 @@
# Copyright (C) 2020 by Animath
# SPDX-License-Identifier: GPL-3.0-or-later
from .views import RegistrationViewSet
def register_registration_urls(router, path):
"""
Configure router for registration REST API.
"""
router.register(path + "/registration", RegistrationViewSet)