Skip to content

Commit

Permalink
Merge pull request #66 from mikebq/action-error-list-no-attrib-data
Browse files Browse the repository at this point in the history
Fixes ActionErrorList creation resulting in AttributeError
  • Loading branch information
Asif Saif Uddin authored Feb 26, 2020
2 parents 5c5236f + 94d6f29 commit 6c82e3d
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 6c82e3d

Please sign in to comment.