django rest framework(10)

1.权限

2.认证

3.访问频率限制

4.序列化

5.路由

6.视图

7.分页

8.解析器

9.渲染器

10.版本

 

面试题:你写的类都继承过哪些类?

class Vive(object):

class APIView(View):

class GenericAPIView(views.APIView):

class GenericViewSet(ViewSetMixin,generics.GenericAPIView)

class ModelViewSet(mixins.CreateModelMixin,

  mixins.RetrieveModelMixin,

  mixins.UpdateModelMixin,

  mixins.DestroyModelMixin,

  mixins.ListModelMixin,

  GenericViewSet);

posted on 2018-09-20 23:09  卢小白  阅读(83)  评论(0编辑  收藏  举报

导航