-
-
Notifications
You must be signed in to change notification settings - Fork 35
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
__init__() got an unexpected keyword argument 'instance' #22
Comments
I will test if this resolves the issue. |
Nope, it didn't work for me. |
This also won't work . |
Looks like it is the way BaseModelFormSet handles kwargs. I'm trying to fix it, will let you know how that goes |
The same in Django 1.11.5 |
Any news on this? |
Any news now? I can't keep removing **kwargs from init. |
So still no solution on this?????????????????? |
Had this problem too. It happened because, on my form, I was inheriting from a custom ModelForm and from SuperModelForm. The solution ended up being inheriting from SuperModelFormMixin and my custom ModelForm. |
Hello, i am using Django 1.10.7
And got this error
forms.py
The text was updated successfully, but these errors were encountered: