Fixed connection field if django-filter is not installed

This commit is contained in:
Syrus Akbary 2016-09-17 18:41:14 -07:00
parent 4127031d2a
commit 459e390b47

View File

@ -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)