Skip to content

Commit

Permalink
BaseFilterSet sync
Browse files Browse the repository at this point in the history
  • Loading branch information
barseghyanartur committed May 27, 2020
1 parent 0ef71f9 commit 40b5f21
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion django_mongoengine_filter/filterset.py
Expand Up @@ -193,7 +193,15 @@ class BaseFilterSet(object):
order_by_field = ORDER_BY_FIELD
strict = True

def __init__(self, data=None, queryset=None, prefix=None, strict=None):
def __init__(
self,
data=None,
queryset=None,
prefix=None,
strict=None,
*args,
**kwargs
):
self.is_bound = data is not None
self.data = data or {}
if queryset is None:
Expand Down

0 comments on commit 40b5f21

Please sign in to comment.