筆記: Django Rest Framework APIView 認證 auth

1, 先寫一個APP, 名字叫auth_test 1.1 urls.py文件內容以下: path('dog/', views.DogView.as_view()) 1.2 views.py 文件內容以下 from django.views import View from rest_framework.views import APIView class DogView(APIView):
相關文章
相關標籤/搜索