摘要:
def index4(request): """获取请求体数据,返回数据结果是QueryDict""" print(request.POST) """ 打印效果: <QueryDict: {'name': ['root'], 'password': ['123456']}> """ print(re 阅读全文
摘要:
home/views.py """查询字符串[Query String]""" def index3(request): # print(request.GET) """ 访问地址: http://127.0.0.1:8000/home/index3 打印效果: <QueryDict: {}> 分析 阅读全文