We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Trying to override __init__ using
__init__
def __init__(self, *args, **kwargs): self.request = kwargs.pop("request") print(self.request.user) super(MyForm, self).__init__(*args, **kwargs)
got error __init__() got an unexpected keyword argument 'request' betterforms\multiform.py in __init__, line 46
__init__() got an unexpected keyword argument 'request'
betterforms\multiform.py in __init__, line 46
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Trying to override
__init__
usinggot error
__init__() got an unexpected keyword argument 'request'
betterforms\multiform.py in __init__, line 46
The text was updated successfully, but these errors were encountered: