docs: Fix schema at tutorial-plain

This commit is contained in:
Paulo Romeira 2018-05-27 14:27:48 -03:00
parent a480a39713
commit a56d935acc

View File

@ -154,7 +154,7 @@ Create ``cookbook/ingredients/schema.py`` and type the following:
model = Ingredient
class Query(object):
class Query(graphene.AbstractType):
all_categories = graphene.List(CategoryType)
all_ingredients = graphene.List(IngredientType)