Skip to content

Commit

Permalink
Pass widgets field to modelform_factory
Browse files Browse the repository at this point in the history
Fixes #417
  • Loading branch information
bo0tzz authored and vdboor committed Nov 18, 2021
1 parent 8066c4c commit 611aa7b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions polymorphic/formsets/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ def get_form(self, **kwargs):
"labels": self.labels,
"help_texts": self.help_texts,
"error_messages": self.error_messages,
"widgets": self.widgets,
# 'field_classes': field_classes,
}
defaults.update(kwargs)
Expand Down

0 comments on commit 611aa7b

Please sign in to comment.