mirror of
https://github.com/graphql-python/graphene-django.git
synced 2025-07-10 16:22:20 +03:00
Fix up
This commit is contained in:
parent
91cd27781f
commit
17199fb470
|
@ -51,7 +51,7 @@ def get_filtering_args_from_filterset(filterset_class, type):
|
||||||
):
|
):
|
||||||
# Get the filter field for filters that are no explicitly declared.
|
# Get the filter field for filters that are no explicitly declared.
|
||||||
if filter_type == "isnull":
|
if filter_type == "isnull":
|
||||||
field_type = graphene.Boolean(required=required)
|
field_type = graphene.Boolean
|
||||||
else:
|
else:
|
||||||
model_field = get_model_field(model, filter_field.field_name)
|
model_field = get_model_field(model, filter_field.field_name)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user