Skip to content

Commit

Permalink
Remove unnecessary instantiation
Browse files Browse the repository at this point in the history
  • Loading branch information
Bekabyx committed Jul 24, 2023
1 parent 8293793 commit e64ba07
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wcivf/apps/parties/filters.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,14 +80,14 @@ def party_nations_filter(self, queryset, name, value):
)

status = django_filters.ChoiceFilter(
widget=DSLinkWidget(),
widget=DSLinkWidget,
method="party_status_filter",
choices=party_status_choices,
label="Party Status",
)

nations = django_filters.ChoiceFilter(
widget=DSLinkWidget(),
widget=DSLinkWidget,
method="party_nations_filter",
choices=[("ENG", "England"), ("WAL", "Wales"), ("SCO", "Scotland")],
label="Nation",
Expand Down

0 comments on commit e64ba07

Please sign in to comment.