Skip to content

Commit

Permalink
Initialise base class before calling into it.
Browse files Browse the repository at this point in the history
  • Loading branch information
mikebq committed Feb 25, 2020
1 parent 3677b42 commit 94d6f29
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions authority/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ class ActionPermissionInline(PermissionInline):

class ActionErrorList(forms.utils.ErrorList):
def __init__(self, inline_formsets):
super(ActionErrorList, self).__init__()
for inline_formset in inline_formsets:
self.extend(inline_formset.non_form_errors())
for errors_in_inline_form in inline_formset.errors:
Expand Down

0 comments on commit 94d6f29

Please sign in to comment.