摘要: 参考: # 安装 pip install djangorestframework pip install django-redis # 调试 http #官网教程1,pip install httpie 可以用来调试http https://blog.csdn.net/ppppfly/article 阅读全文
posted @ 2021-01-23 20:49 该显示昵称已被使用了 阅读(125) 评论(0) 推荐(0) 编辑
摘要: FBV # 1 def add_publisher(request): error_msg = "" # 如果是POST请求,我就取到用户填写的数据 if request.method == "POST": new_name = request.POST.get("publisher_name", 阅读全文
posted @ 2021-01-23 20:03 该显示昵称已被使用了 阅读(38) 评论(0) 推荐(0) 编辑