mirror of
https://github.com/IRBorisov/ConceptPortal.git
synced 2025-06-26 04:50:36 +03:00
13 lines
309 B
Python
13 lines
309 B
Python
''' Routing: Operation Schema. '''
|
|
from django.urls import include, path
|
|
from rest_framework import routers
|
|
|
|
from . import views
|
|
|
|
library_router = routers.SimpleRouter(trailing_slash=False)
|
|
library_router.register('oss', views.OssViewSet, 'OSS')
|
|
|
|
urlpatterns = [
|
|
path('', include(library_router.urls)),
|
|
]
|