Route matching
#1. Import
from django.urls import path
from rest_framework.routers import DefaultRouter
from app02.views import StudentViewset
# 2. Instantiation DefaultRouter
router = DefaultRouter()
# 3. Sign up for apps url
router.register(' name s', Library name Viewset,basename=' name s')
urlpatterns = [
]
#4. additional
urlpatterns += router.urls
http://path/ name s