You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Form class is not new-style class. I was trying to call super(MyForm, self).__init__(*inputs) in my custom form class but no success since super() only works for new-style classes.
Form class should be defined as follow
class Form(object): instead of class Form:
The text was updated successfully, but these errors were encountered:
Form class is not new-style class. I was trying to call
super(MyForm, self).__init__(*inputs)
in my custom form class but no success sincesuper()
only works for new-style classes.Form class should be defined as follow
class Form(object):
instead ofclass Form:
The text was updated successfully, but these errors were encountered: