diff --git a/graphene_django/fields.py b/graphene_django/fields.py index ea07298..9b27f70 100644 --- a/graphene_django/fields.py +++ b/graphene_django/fields.py @@ -66,7 +66,7 @@ class DjangoConnectionField(ConnectionField): return getattr(self.model, self.on) else: return self.model._default_manager - + @classmethod def resolve_queryset(cls, connection, queryset, info, args): return connection._meta.node.get_queryset(queryset, info) diff --git a/graphene_django/types.py b/graphene_django/types.py index 8e35608..1bfa2b2 100644 --- a/graphene_django/types.py +++ b/graphene_django/types.py @@ -126,7 +126,7 @@ class DjangoObjectType(ObjectType): model = root._meta.model._meta.concrete_model return model == cls._meta.model - + @classmethod def get_queryset(cls, queryset, info): return queryset