mirror of
https://github.com/graphql-python/graphene-django.git
synced 2025-01-27 01:34:09 +03:00
Fixed connection field if django-filter is not installed
This commit is contained in:
parent
4127031d2a
commit
459e390b47
|
@ -56,4 +56,4 @@ def get_connection_field(*args, **kwargs):
|
|||
if DJANGO_FILTER_INSTALLED:
|
||||
from .filter.fields import DjangoFilterConnectionField
|
||||
return DjangoFilterConnectionField(*args, **kwargs)
|
||||
return ConnectionField(*args, **kwargs)
|
||||
return DjangoConnectionField(*args, **kwargs)
|
||||
|
|
Loading…
Reference in New Issue
Block a user