摘要: 一、试图基类 # 我们之前学习的drf在编写视图类的时候 是继承了APIView 和 GenericAPIView # GenericAPIView的属性和方法回顾: -属性 -queryset # 要序列化的数据 -serializer_class # 序列化类 -lookup_field # 通 阅读全文
posted @ 2022-09-30 19:32 stephen_hao 阅读(107) 评论(0) 推荐(0)