Skip to content

Commit

Permalink
hotfix: override correct method
Browse files Browse the repository at this point in the history
  • Loading branch information
Afani97 committed Mar 9, 2023
1 parent e46ba15 commit 32cf371
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nc/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def save_model(self, request, obj, form, change):
obj.save()

def save_related(self, request, form, formsets, change):
super().save_model(request, form, formsets, change)
super().save_related(request, form, formsets, change)
form.instance.agencies.set(form.cleaned_data["agencies"], clear=True)


Expand Down

0 comments on commit 32cf371

Please sign in to comment.