腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
文章
问答
(9999+)
视频
沙龙
1
回答
AttributeError
:
发出
get
请求
时
,“”
WSGIRequest
“”
对象
没有
属性
“”
get
“”
、
、
、
我正在尝试向stackoverflow API
发出
get
请求
,但在通过POSTMAN
发出
请求
时
遇到了WSGI错误。以下是代码片段: 视图: def search(requests): response = requests.
get
('httpsapi_Data}) URL: urlpatterns = [ path('search
浏览 30
提问于2020-12-30
得票数 1
回答已采纳
1
回答
AttributeError
:“”
WSGIRequest
“”
对象
没有
属性
“”
Get
“”
、
submitted=True') form = QuoteForm() if 'submitted' in request.
Get
浏览 19
提问于2020-09-17
得票数 0
1
回答
AttributeError
'
WSGIRequest
‘
对象
没有
属性
'
get
’
、
、
、
、
我试图添加一组内联表单,但是当我试图保存表单的信息
时
,它会抛出错误。目的是为一个特定的客户端创建更多的订单,因此我将重点放在实现它的"createOrder“函数上。products_key': products_value}) customer_value = Customer.objects.
get
inlineformset_factory(Customer, Order, fields=('product', '
浏览 3
提问于2021-10-02
得票数 2
回答已采纳
1
回答
AttributeError
:
请求
对象
在
发出
GET
请求
时
没有
属性
'
Get
‘
、
、
我正在尝试
发出
Get
请求
,但得到了以下错误:下面是我的代码: """Obtain email tokent
浏览 2
提问于2021-09-19
得票数 1
回答已采纳
1
回答
django
AttributeError
'
WSGIRequest
‘
对象
没有
属性
'
get
’
、
//id找不到错误点,也
没有
搜索解决方案'
WSGIRequest
‘
对象
<em
浏览 5
提问于2021-04-08
得票数 0
1
回答
AttributeError
:“
WSGIRequest
”
对象
没有
属性
“
get
”heroku
、
、
、
、
我有一个
get
请求
,但是这个错误在heroku上失败了:我未能从以下几个方面找出根本原因return None """
get
ip address."""return uuid.uui
浏览 0
提问于2021-10-27
得票数 1
回答已采纳
1
回答
/ '
WSGIRequest
‘
对象
处的dajango
AttributeError
没有
属性
'
get
’
、
、
、
、
key=69528a98f894438b88982548221507&q={city}&aqi=no" return renderdjango.middleware.clickjacking.XFrameOptionsMiddleware',当尝试从api获取数据
时
,
请求
不起作用。
浏览 9
提问于2022-03-15
得票数 0
1
回答
AttributeError
at /admin/ '
WSGIRequest
‘
对象
没有
属性
'user’
、
AttributeError
at /admin/ '
WSGIRequest
‘
对象
没有
属性
'user’
请求
方法:
GET
请求
URL: Django版本: 2.1.2异常类型:
AttributeError
Users\Neptune\AppData\Local\Programs\Python\Python37-32\lib\site-packages\django\contrib\admin\si
浏览 1
提问于2019-06-04
得票数 1
5
回答
'
WSGIRequest
‘
对象
没有
属性
'
get
’
、
我正在创建一个视图,女巫将处理
get
和post登录
请求
。这里我是如何设计的: def
get
(self,request): c.update(csrf(request('username','') user = auth.authenticate(
浏览 11
提问于2015-02-14
得票数 16
回答已采纳
2
回答
WSGIRequest
对象
没有
属性
get
、
但是,我得到了这个wsgi错误:
AttributeError
at /polisy/add_paydate_form/35/Request Method:
GET
Request URL: http://127.0.0.1:8000/polisy/add_paydate_form/35
浏览 5
提问于2015-07-28
得票数 1
回答已采纳
1
回答
“
WSGIRequest
”
对象
没有
属性
“”
get
“”
、
、
当我按下保存按钮
时
,print(variable)正确地打印在我的powershell中。但我似乎救不了。我的网站向我展示了我提到了其他人的前一篇文章:,但提供的前两个解决方案不起作用。所以它变成了request.POST.
get
('html name' , '')。但这并
没有
改变输出或解决错误。当我使用request.POST.
浏览 0
提问于2021-09-23
得票数 0
1
回答
在呈现时捕获
AttributeError
:'
WSGIRequest
‘
对象
没有
属性
'
get
’
、
现在我的问题是,当我带着表单返回页面
时
,我得到了以下错误:恢复工作的唯一方法似乎是删除forms.py,替换以前不起作用的东西the site (i.e. someone that has at-least submitted the search form PARENT_OR_STUDENT = <e
浏览 1
提问于2011-07-28
得票数 11
回答已采纳
1
回答
AttributeError
'‘
对象
在
Get
请求
中返回
对象
时
没有
属性
'
get
’
、
、
、
这是
请求
url:
GET
/api/v1/companies/profile/?name=TestFirma --相对来说,我是django的新手,这是我第一次尝试在django中传递带有
GET
请求
的参数。def
get
_object(request, name): if name is not
浏览 3
提问于2016-01-04
得票数 2
回答已采纳
1
回答
属性
错误:'
WSGIRequest
‘
对象
没有
属性
'
get
’
、
我曾寻找过类似的错误,但
没有
一个与我的情况相匹配。我不知道我哪里出了问题。如果我能得到有帮助的答案那就太好了。'add_amount': "Additional Amount"Views.pyif request.method == '
GET
if id == 0: else: tax = ServiceTax.objects.
g
浏览 5
提问于2020-04-09
得票数 0
回答已采纳
1
回答
如何从输入中获取数据以运行Django中的函数
、
、
、
这是本教程中的代码:def buscar(request): producto = request.
GET
["head> </head> <form action="/buscar/" method=&quo
浏览 4
提问于2022-11-29
得票数 1
1
回答
从
请求
的数据流( django )读取后,您无法访问主体
、
我试图使用django读取
请求
体,但是它引发了一个错误:@csrf_exempt try: payload = json.loads(request.body) profile_pic = request.FILES.
get
('profile_
浏览 1
提问于2020-07-18
得票数 1
1
回答
Django单元测试:
AttributeError
:'
WSGIRequest
‘
对象
没有
'user’
属性
在运行测试
时
,我得到以下错误输出: user = self.request.user
AttributeError
:'
WSGIRequest
‘
对象
没有
属性
'user’ 我尝试过从MIDDLEWARE切换到另外,我也尝试过更换中间件的位置,但
没有
任何帮助。import User def test_anonymous(self): req = RequestFacto
浏览 19
提问于2019-01-14
得票数 5
回答已采纳
2
回答
Django表单
没有
面对
属性
错误提交
、
、
、
、
我面对的是
AttributeError
:'
WSGIRequest
‘
对象
没有
属性
'
get
’*错误--我是django和python的新手,请在这里告诉我我的错误。
浏览 4
提问于2017-06-11
得票数 1
回答已采纳
1
回答
Django不能访问raw_post_data
、
我让邮递员在原始字段中用'test‘
发出
一个帖子
请求
。Django返回3种不同的东西(随机):
AttributeError
at /Exception Value: '
WSGIRequest
' objec
浏览 2
提问于2014-03-13
得票数 18
1
回答
请求
AttributeError
:输入
对象
‘字节’
没有
属性
'
get
‘
、
、
、
即使当接收参数同时被分配给bytes和str
时
,也会出现问题,
没有
任何帮助,下面是代码: 'View':{ send_requests = requests.
get
\Users\Kolia\AppData\Local\Programs\Python\Pytho
浏览 8
提问于2022-04-06
得票数 0
回答已采纳
点击加载更多
热门
标签
更多标签
云服务器
ICP备案
云直播
腾讯会议
实时音视频
活动推荐
运营活动
广告
关闭
领券