腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
文章
问答
(9999+)
视频
沙龙
0
回答
“‘
super
”
对象
没有
属性
“
clean_password1
”
python
、
django
、
django-forms
、
django-registration
问题是Django说UserCreationForm
没有
clean_password1
属性
。 你知道问题出在哪里吗?我发现UserCreationForm中
没有
这样的
属性
,但它以前是有效的。编辑:这是因为它调用了不在超类中的超级(...).
clean_password1
。email', 'type_of_user', 'first_name', 'last_name', 'password1', &
浏览 6
提问于2016-07-09
得票数 0
1
回答
Django '
super
没有
属性
clean_password1
()‘
python
、
django
、
python-2.7
我正在尝试子类Django的默认用户创建表单,但由于某些原因,它在这个函数中失败了: password = self.cleaned_datapassword1'] raise ValidationError('Password too short')
浏览 1
提问于2014-03-09
得票数 0
回答已采纳
2
回答
AttributeError:“
super
”
对象
没有
属性
python
、
python-3.x
、
oop
当我尝试在文件末尾运行它时,我得到了这个堆栈跟踪:class Parent:raise AttributeError("Some message") def __init__(self): def do_something(self, some_parameter, next_param
浏览 2
提问于2018-07-09
得票数 2
回答已采纳
1
回答
继承:“
super
”
对象
没有
属性
inheritance
、
python-3.6
我正在尝试创建一个工厂,它将创建一个使用父类中的实例变量的
对象
。父类不是被初始化来创建一个子类吗?我以为在子类的__init__()中添加
super
().__init__可能会修复它,但它
没有
。有
没有
办法解决这个问题?self.attr1 = [] self.data = [
super
().attr1,
super
().attr2] class
浏览 0
提问于2018-05-13
得票数 0
2
回答
'
super
‘
对象
没有
属性
'__eq__’
python
、
python-2.7
、
super
、
python-object
当我试图覆盖神奇的方法__eq__,并使用
super
访问在object中找到的基本方法时,我会得到一个错误。这不可能是个bug,但它确实让人感觉像一个: def __eq__(self, other):A() == 0 这是不直观的,因为o
浏览 1
提问于2016-05-23
得票数 11
回答已采纳
1
回答
networkx:'
super
‘
对象
没有
属性
'node’
python
、
inheritance
、
superclass
、
networkx
扩展一个类class branch(nx.DiGraph): self.b=
super
AttributeError: '
super
' object has no attribute 'node' 我可以使用.nodes(),但不能使用.node[],为什么?
浏览 0
提问于2011-11-16
得票数 0
回答已采纳
1
回答
'
super
‘
对象
没有
属性
'save’Django
python
、
django
'username', def save(self,commit=True):Exception Value: '
super
' object has no attrib
浏览 0
提问于2018-03-01
得票数 1
回答已采纳
2
回答
Python : AttributeError:'
super
‘
对象
没有
属性
'init’
python
、
inheritance
、
keras
、
super
我正在尝试编写一个数据生成器,我想从Keras继承ImageDataGenerator
对象
。我们的目的是在我自己的生成器中使用Keras模块的一些图像预处理功能。parameters from Keras ImageDataGenerator. def __init__(self, *args, **kwargs): File "C:/Users/joshu/Documents/Code/Self Drivin
浏览 3
提问于2017-09-16
得票数 0
回答已采纳
2
回答
kivymd: AttributeError:'
super
‘
对象
没有
属性
'__getattr__’
python
、
kivy
、
mobile-application
、
kivymd
: height: 30 name: 'sign up' 我尝试了很多事情,但
没有
解决这个错误
浏览 4
提问于2021-04-17
得票数 0
3
回答
Python:“
super
”
对象
没有
属性
“attribute_name”
python
、
attributes
、
super
):下面是子类: def __init__(self, value): parent_var =
super
(Child, self).some_var obj.doSomething() File "test.py&
浏览 3
提问于2011-05-21
得票数 31
回答已采纳
3
回答
'
super
‘
对象
没有
属性
'_get_type_value’
python
、
openerp
当我单击“舞台”字段时,当我创建机会时,它会给我以下错误: AttributeError:“超级”
对象
没有
属性
“_get_type_value” 如能对此提供任何帮助,将不胜感激。
浏览 7
提问于2011-11-04
得票数 1
2
回答
如何在Python中使用“
Super
(Type)”?AttributeError:'
super
‘
对象
没有
属性
'test’
python
时,我会得到以下例外:File "<stdin>", line 1, in <module>我看到了python文档:“超级(类型) ->未绑定超级
对象
”,为什么它不能工作?
浏览 3
提问于2017-06-12
得票数 2
回答已采纳
2
回答
KIVY错误: AttributeError:'
super
‘
对象
没有
属性
'__getattr__’
python
、
class
、
kivy
、
kivy-language
、
super
__getattr__##########PY文件: return self.sm.current application.run() 所有对方案的实际状态
没有
用处的部分将在今后的这个项目中使用
浏览 4
提问于2020-11-20
得票数 0
1
回答
django websocker错误: AttributeError:'
super
‘
对象
没有
属性
'init’
django
'render-view'
super
RenderView()
super
(RenderV
浏览 28
提问于2017-08-20
得票数 1
回答已采纳
1
回答
'
super
‘
对象
在kivymd中
没有
属性
'__getattr__’
python
、
kivy
、
kivy-language
错误:'
super
' object has no attribute '__getattr__'import glob from kivymd.app
浏览 11
提问于2021-12-11
得票数 0
回答已采纳
1
回答
AttributeError:'
super
‘
对象
在python中
没有
属性
'__getattr__’
python
、
python-3.x
、
python-2.7
、
kivy
这里是python代码:
super
(UserHomeScrrenitem.selected_item = False return
super
kwargs): self.theme_cls.primary
浏览 0
提问于2020-10-06
得票数 0
2
回答
Django自定义用户身份验证不能正常工作。
django
、
django-models
、
django-forms
、
django-admin
、
django-custom-user
(self, email, first_name, last_name, password): Creates and saves a
super
_userpasswords don't match") user =
super
浏览 6
提问于2015-10-04
得票数 0
回答已采纳
2
回答
'
super
‘
对象
在kivy中
没有
属性
'__getattr__’错误?
python
、
kivy
、
kivymd
但是,这是不起作用的,相反,我收到了错误"'
super
‘
对象
没有
属性
'getattr'“。我尝试将它们放在不同的类中,但是这也不起作用。附件是相关的代码以及完整的代码,以及我收到的错误信息。
浏览 6
提问于2022-02-09
得票数 -2
1
回答
AttributeError:“
super
”
对象
在.kv中
没有
属性
“__getattr__”
kivy
、
kivy-language
、
python-3.8
TextInputclass MyLayout(Widget):
super
text:"clear fields" on_press:root.clear() 当我单击"clear field“按钮时,它会抛出这个错误 AttributeError: '
super
浏览 41
提问于2021-08-11
得票数 0
回答已采纳
1
回答
‘'
super
’
对象
没有
'__getattr__‘
属性
,有人能帮我吗?
python
、
kivy
__getattr__#[Finished in 5.9s with exit
浏览 31
提问于2020-12-30
得票数 0
回答已采纳
点击加载更多
热门
标签
更多标签
云服务器
ICP备案
实时音视频
对象存储
云直播
活动推荐
运营活动
广告
关闭
领券