Skip to content

Commit

Permalink
keyword-arg-before-vararg
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardobranco777 committed Jul 3, 2023
1 parent 0658621 commit 63e69f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ocw/tables.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ class Meta:

# Create a BaseFilterSet to support initial value
class BaseFilterSet(django_filters.FilterSet):
def __init__(self, data=None, *args, **kwargs):
def __init__(self, *args, data=None, **kwargs):
if data is not None:
data = data.copy()
for name, f in self.base_filters.items():
Expand Down

0 comments on commit 63e69f1

Please sign in to comment.