django-rest-framework文件上传接口实现

2019独角兽企业重金招聘Python工程师标准>>> html 提供文件上传接口python 代码实例 UploadView类提供了文件上传的方法 class UploadView(APIView): ''' 上传文件接口 ''' parser_classes = (MultiPartParser,) def post(self, request, f
相关文章
相关标签/搜索