Skip to content

Commit

Permalink
black
Browse files Browse the repository at this point in the history
  • Loading branch information
powderflask committed Oct 10, 2023
1 parent 71a1f90 commit e0e1d8a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions fmft/formset_tables.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@

class BaseModelFormSet(django.forms.models.BaseModelFormSet):
"""Extends BaseModelFormSet to add non-form error report suited to formsets displayed in a table"""

def all_non_field_errors(self):
error_list = self.non_form_errors().copy()
for form in self:
Expand Down
1 change: 1 addition & 0 deletions fmft/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ class BaseModelFormSetView(
):
"""A Base class that emulates formsets.ModelFormSetView, but without its request
handlers"""

formset_class = formset_tables.BaseModelFormSet

pass
Expand Down

0 comments on commit e0e1d8a

Please sign in to comment.