摘要:
查询所以用户 http ://192.168.58.100:8888/user/apiview/ 2.2 创建用户 http://192.168.56.100:8888/user/apiview/ 2.3 更新用户信息 http://192.168.65.100:8888/user/user/api 阅读全文
posted @ 2020-09-28 16:53
小虾米爱吃鱼
阅读(70)
评论(0)
推荐(0)
摘要:
ModelViewSet 是对 APIView 封装 ModelSerializer 是对Serializer 封装 1.1 在 user/url.py 中添加路由 urlpatterns =[ path(' apiview ') , views.UserInfoViewSet.as_view()) 阅读全文
posted @ 2020-09-28 16:42
小虾米爱吃鱼
阅读(143)
评论(0)
推荐(0)

浙公网安备 33010602011771号