Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Form class is not new-style class #53

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

Form class is not new-style class #53

ssadovski opened this issue Mar 21, 2011 · 0 comments
Assignees
Milestone

Comments

@ssadovski
Copy link

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:

@ghost ghost assigned anandology Apr 11, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants