腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
文章
问答
(9999+)
视频
沙龙
1
回答
“‘
bool
”
对象
没有
属性
“
save
”
django
、
django-models
、
django-views
我正在尝试在Django应用程序上工作,我想检查数据库中的boolean
对象
是否为False,并将其保存为True,但每次我收到上面的错误时,我都会感激任何人的帮助或对我做错了什么的见解。: status = True status.
save
浏览 15
提问于2021-04-27
得票数 0
回答已采纳
1
回答
'ManyRelatedManager‘
对象
没有
属性
'
save
’
django
、
django-views
如果我注释掉违规行,则match
对象
拥有表单中的所有内容(包括从其他字段(在本例中为学生)中选择的表单上选择的
对象
)。 if form.is_valid(): current_userself.request.user ins
浏览 8
提问于2022-07-23
得票数 -1
回答已采纳
1
回答
“LinearRegression”
对象
没有
“”
save
“”
属性
“”
python
、
python-3.x
、
scikit-learn
我试图用下面几行代码来保存一个线性模型,但是我得到了错误,因为'LinearRegression‘
对象
没有
’保存‘
属性
。from sklearn.linear_model import LinearRegression model.
save
('Linear_Model.h5
浏览 1
提问于2020-10-12
得票数 0
1
回答
'CategoryForm‘
对象
没有
属性
'
save
’
python
、
django
使用教程探戈与django(有趣的表单),错误显示'CategoryForm‘
对象
没有
属性
’保存‘请帮助项目tango_withDjango有一个应用程序rango在它的p.s。if form.is_valid(): # Now call the index() view.
浏览 6
提问于2014-06-13
得票数 1
2
回答
“QuerySet”
对象
没有
“”
save
“”
属性
“”
python
、
html
、
django
request.GET:bookdata = { "details" : info2, 'sid':int(sid) }<td> <a href="/accounts/answer
浏览 0
提问于2014-06-11
得票数 2
1
回答
'KerasClassifier‘
对象
没有
属性
'
save
’
keras
、
neural-network
、
deep-learning
accuracies = cross_val_score(estimator = model,X = X_train, y = y_train, cv = 10, n_jobs = -1) 但是获取错误'KerasClassifier‘
对象
没有
属性
'
save
’。
浏览 2
提问于2019-04-23
得票数 0
回答已采纳
1
回答
“模型
对象
没有
‘
save
’
属性
”
django
request.POST) # A form bound to the POST data newform = form.
save
我可以将数据添加到数据库中,如果我选择下一步-只需添加 lala.
save
() 我真的不明白哪里出了问题,到处我都认为form.
s
浏览 0
提问于2010-11-25
得票数 20
回答已采纳
1
回答
“QuerySet”
对象
没有
属性
“”
save
“”
django
当我尝试获取图像
属性
并根据service_name
属性
的内容设置一些值时,我得到了这个错误,service_name和image_url都是同一模型的
属性
,但我想使用条件语句根据内容service_nameauto=compress&cs=tinysrgb&dpr=1&w=500' object.
save
() elifauto=compress&cs=tinysrgb&dpr=1&a
浏览 14
提问于2021-06-30
得票数 0
2
回答
AttributeError:'
bool
‘
对象
没有
属性
python
、
django
、
django-forms
、
django-views
当提交第二个配置文件页的表单时,我希望它将
Bool
从False更新为True,但是我得到了错误: artist_status.has_created_artist_profile = True form.
save
()
浏览 0
提问于2018-05-15
得票数 5
回答已采纳
2
回答
‘'
bool
’
对象
没有
属性
‘年份’
odoo
、
calculated-field
return unsafe_eval(c, globals_dict, locals_dict)AttributeError: '
bool
浏览 26
提问于2022-05-05
得票数 0
1
回答
‘'
bool
’
对象
没有
属性
'shape‘
python-3.x
、
numpy
、
neural-network
、
jupyter-notebook
classes,
save
AttributeError: '
bool
' object has no attribute 'shape'pred = pred.numpy() predictions=pred,
浏览 1
提问于2018-06-12
得票数 2
回答已采纳
1
回答
‘'
bool
’
对象
没有
属性
'rect‘
python
、
pygame
我试图修改我的代码,使其面向
对象
,但现在它失败了。每当我调用if snake.rect.colliderect(food.rect)时,它都会返回AttributeError: '
bool
' object has no attribute 'rect'
浏览 1
提问于2019-03-03
得票数 0
回答已采纳
4
回答
AttributeError:'
bool
‘
对象
没有
属性
?
python
、
openerp
、
odoo-10
}) def write(self, vals): if vals['Amount'] > 0:
浏览 1
提问于2017-06-22
得票数 3
回答已采纳
1
回答
AttributeError:“Manager”
对象
没有
属性
“
save
”
django-models
import models#user objects=Manager() if instance.user_type==2: Entr
浏览 0
提问于2020-05-28
得票数 0
1
回答
'SetPasswordForm‘
对象
没有
属性
’
save
‘- Django
django
、
django-forms
、
django-views
、
django-authentication
我正在尝试在Django上设置SetPasswordForm,但是当尝试输入新密码时会出现以下错误:'SetPasswordForm' object has no attribute ‘
save
’。user=user) if form.is_valid(): form.
save
浏览 3
提问于2015-08-22
得票数 1
回答已采纳
1
回答
'super‘
对象
没有
属性
'
save
’Django
python
、
django
model=User 'username', def
save
username1'] if commit:File "C:\Users\
浏览 0
提问于2018-03-01
得票数 1
回答已采纳
3
回答
AttributeError:“”QuerySet“”
对象
没有
“”
save
“”
属性
“”
python
、
html
、
django
但是在单击更新时,它抛出了以下错误: AttributeError at /add/ 'QuerySet‘
对象
没有
’AttributeError‘
属性
。 ad.Proj_name = Proj_name ad.
save
浏览 11
提问于2021-11-12
得票数 0
1
回答
AttributeError:“Image”
对象
没有
“”
save
“”
属性
“”
image
、
save
、
rdkit
Draw.MolsToGridImage(subms,molsPerRow=4,subImgSize=(200,200),legends=[x.GetProp("_Name") for x in subms]) img=Draw.MolsToGridImage(ms, molsPerRow=10) img.
save
('Pic.png') 在这两种情况下,教程和我自
浏览 41
提问于2020-12-28
得票数 0
回答已采纳
4
回答
Django 'PictureForm‘
对象
没有
属性
'
save
’
django
每当我点击Add图片,它就不会让用户上传图片,而是得到这个错误 pet = form.
save
(commitPictureForm(request.POST ,request.FILE or None) pet = form.
save
(commit =False)
浏览 2
提问于2013-03-08
得票数 0
回答已采纳
1
回答
AttributeError:“”NoneType“”
对象
没有
“”
save
“”
属性
“”
python
、
reactjs
、
django-rest-framework
、
axios
我试图使用react- facebook -login登录facebook,然后存储数据,但它给了我一个关于'
save
‘的错误,我不知道为什么,我在其他应用程序中使用了完全相同的结构,它工作得很好,你能告诉我我做错了什么吗= {'allow_inheritance': True} self.add_date = datet
浏览 60
提问于2019-06-02
得票数 1
回答已采纳
点击加载更多
热门
标签
更多标签
云服务器
ICP备案
对象存储
即时通信 IM
云直播
活动推荐
运营活动
广告
关闭
领券