django-superform icon indicating copy to clipboard operation
django-superform copied to clipboard

modelformset_factory should get a db Model as argument

Open metemaddar opened this issue 7 years ago • 0 comments

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',))

metemaddar avatar Sep 18 '17 08:09 metemaddar