摘要: 为了更好的显示响应的书数据,先基本介绍渲染器的使用:现在settings.py的文件种变量INSTALL_APPS中添加一个app——“rest_framework”,在请求视图类中返回数据响应的方式使用from rest_framework.response import Response的类,请 阅读全文
posted @ 2020-06-12 23:10 xsha_h 阅读(330) 评论(0) 推荐(0) 编辑