路由的匹配
#1.導入
from django.urls import path
from rest_framework.routers import DefaultRouter
from app02.views import StudentViewset
# 2. 實例化DefaultRouter
router = DefaultRouter()
# 3. 注冊應用url
router.register('名s',庫名Viewset,basename='名s')
urlpatterns = [
]
#4.附加
urlpatterns += router.urls
http://path/名s
The first two articles , We us
使用 map 來提交多個函數使用 submit 提交函數會返