摘要:
"""Basic building blocks for generic class based views.We don't bind behaviour to http method handlers yet,which allows mixin classes to be composed i 阅读全文
posted @ 2021-01-09 21:15
zxy_ang
阅读(125)
评论(0)
推荐(0)
摘要:
1.功能(继承APIView):认证,授权,限流 2. 请求ququest,返回response对象 3. 可进行过滤,排序,分页 4. Mixins:将一些接口公共方法抽出,放入此类中 阅读全文
posted @ 2021-01-09 20:35
zxy_ang
阅读(81)
评论(0)
推荐(0)
摘要:
from .models import Projectsfrom rest_framework.generics import GenericAPIViewfrom rest_framework.response import Responsefrom rest_framework import s 阅读全文
posted @ 2021-01-09 20:24
zxy_ang
阅读(99)
评论(0)
推荐(0)

浙公网安备 33010602011771号