You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
according to the issue: Django inline formset error and the documentation for Model Formset, we should set the db Model as argument to the modelformset_factory.
So the EmailFormSet = modelformset_factory(EmailForm)
Should Change to: EmailFormSet = modelformset_factory(Email, fields = ('account', 'email',))
The text was updated successfully, but these errors were encountered:
according to the issue: Django inline formset error and the documentation for Model Formset, we should set the db Model as argument to the modelformset_factory.
So the
EmailFormSet = modelformset_factory(EmailForm)
Should Change to:
EmailFormSet = modelformset_factory(Email, fields = ('account', 'email',))
The text was updated successfully, but these errors were encountered: