Skip to content

Form class is not new-style class #53

Closed
ssadovski opened this Issue Mar 21, 2011 · 0 comments

2 participants

@ssadovski

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:

@anandology anandology was assigned Apr 11, 2011
@anandology anandology closed this in 766709c May 2, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.