Update tutorial-relay.rst

This commit is contained in:
Alan Rivas 2021-06-28 22:06:56 -04:00
parent e7f7d8da07
commit 5222bbff8c

View File

@ -151,7 +151,7 @@ Create ``cookbook/ingredients/schema.py`` and type the following:
interfaces = (relay.Node, )
class Query(graphene.ObjectType):
class Query(ObjectType):
category = relay.Node.Field(CategoryNode)
all_categories = DjangoFilterConnectionField(CategoryNode)