mirror of
https://gitlab.crans.org/bde/nk20
synced 2025-06-21 18:08:21 +02:00
Wrapped apps
This commit is contained in:
11
apps/wrapped/api/urls.py
Normal file
11
apps/wrapped/api/urls.py
Normal file
@ -0,0 +1,11 @@
|
||||
# Copyright (C) 2018-2024 by BDE ENS Paris-Saclay
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
from .views import WrappedViewSet, BdeViewSet
|
||||
|
||||
def register_wrapped_urls(router, path):
|
||||
"""
|
||||
Configure router for Wrapped REST API.
|
||||
"""
|
||||
router.register(path + '/wrapped', WrappedViewSet)
|
||||
router.register(path + '/bde', BdeViewSet)
|
Reference in New Issue
Block a user