Django错误:AttributeError: 'WSGIRequest' object has no attribute 'Post'
2017-10-28 17:15
1181 查看
最近在学习Django,遇到了
Django错误:AttributeError: 'WSGIRequest' object has no attribute 'Post'
最后通过调试终于发现问题所在,注意:只需要把Post写成POST。因为request只有POST的用法。
Django错误:AttributeError: 'WSGIRequest' object has no attribute 'Post'
最后通过调试终于发现问题所在,注意:只需要把Post写成POST。因为request只有POST的用法。
相关文章推荐
- Django admin 产生'WSGIRequest' object has no attribute 'user'的错误
- django报错 'WSGIRequest' object has no attribute 'session'
- Django 错误信息:AttributeError: 'str' object has no attribute '_meta'
- Django 错误信息:AttributeError: 'str' object has no attribute '_meta'
- 'WSGIRequest' object has no attribute 'raw_post_data'
- [python错误]builtins.AttributeError: 'module' object has no attribute 'request'
- python 错误解析 AttributeError: 'module' object has no attribute 'dumps'
- Django: AttributeError: 'str' object has no attribute 'resolve'
- django view.py error 'function' object has no attribute 'objects' 解决办法
- 关于Srapy框架运行的错误AttributeError: 'module' object has no attribute 'OP_NO_TLSv1_1'
- Django操作model时刻,一个错误:AttributeError:’ProgrammingError’ object has no attribute ‘__traceback__’
- Ubuntu16.04上启动Spyder出现错误AttributeError: 'module' object has no attribute '_base'
- Flask:报AttributeError: 'NoneType' object has no attribute 'metadata'错误
- 对于AttributeError: ‘module’ object has no attribute ‘AF_INET’ 的错误原因
- django view.py error 'QuerySet' object has no attribute 'save' 解决方法
- Python报错——错误“AttributeError:'builtin_function_or_method' object has no attribute 'sleep'”
- Django报:AttributeError: tuple object has no attribute get
- [python]Django AttributeError 'tuple' object has no attribute 'regex'
- 【Python错误】AttributeError: 'bool' object has no attribute '__call__'
- 'WSGIRequest' object has no attribute 'user'