10 lines
237 B
Python
Executable File
10 lines
237 B
Python
Executable File
from rest_framework import routers
|
|
from .views import ConnectionViewSet
|
|
from django.urls import include, path
|
|
|
|
ROUTER = routers.SimpleRouter()
|
|
ROUTER.register(r'', ConnectionViewSet)
|
|
urlpatterns = [
|
|
path('', include(ROUTER.urls)),
|
|
]
|