mirror of
https://github.com/graphql-python/graphene.git
synced 2024-11-29 21:13:58 +03:00
DjangoFilterConnectionField now extends ConnectionField, as DjangoConnectionField is now deprecated
This commit is contained in:
parent
93e758dc13
commit
3d4f593300
|
@ -1,9 +1,9 @@
|
|||
from graphene.contrib.django import DjangoConnectionField
|
||||
from graphene.relay import ConnectionField
|
||||
from graphene.contrib.django.filter.resolvers import FilterConnectionResolver
|
||||
from graphene.contrib.django.utils import get_filtering_args_from_filterset
|
||||
|
||||
|
||||
class DjangoFilterConnectionField(DjangoConnectionField):
|
||||
class DjangoFilterConnectionField(ConnectionField):
|
||||
|
||||
def __init__(self, type, on=None, fields=None, order_by=None,
|
||||
extra_filter_meta=None, filterset_class=None, resolver=None,
|
||||
|
|
Loading…
Reference in New Issue
Block a user