Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Form class is not new-style class #53

Closed
ssadovski opened this Issue · 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
@anandology anandology closed this in 766709c
@BYK BYK referenced this issue from a commit
Commit has since been removed from the repository and is no longer available.
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.