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