Skip to content

modelformset_factory should get a db Model as argument #24

@metemaddar

Description

@metemaddar

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions