摘要:基础的ViewSet views.py from rest_framework import viewsets from .models import Merchant from .serializers import MerchantSerializer from rest_framework.r 阅读全文
posted @ 2021-01-01 17:44 xsan 阅读(34) 评论(0) 推荐(0) 编辑
摘要:from rest_framework.views import APIView from meituan.models import Merchant from django.http import Http404 from .serializers import MerchantSerializ 阅读全文
posted @ 2021-01-01 16:44 xsan 阅读(22) 评论(0) 推荐(0) 编辑
摘要:from rest_framework.views import APIView from meituan.models import Merchant from django.http import Http404 from .serializers import MerchantSerializ 阅读全文
posted @ 2021-01-01 16:43 xsan 阅读(25) 评论(0) 推荐(0) 编辑