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:
11
apps/registration/api/urls.py
Normal file
11
apps/registration/api/urls.py
Normal 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)
|
Reference in New Issue
Block a user