mirror of
https://github.com/graphql-python/graphene-django.git
synced 2025-07-13 17:52:19 +03:00
Merge a56d935acc
into a480a39713
This commit is contained in:
commit
2bf1862f3b
|
@ -154,7 +154,7 @@ Create ``cookbook/ingredients/schema.py`` and type the following:
|
||||||
model = Ingredient
|
model = Ingredient
|
||||||
|
|
||||||
|
|
||||||
class Query(object):
|
class Query(graphene.AbstractType):
|
||||||
all_categories = graphene.List(CategoryType)
|
all_categories = graphene.List(CategoryType)
|
||||||
all_ingredients = graphene.List(IngredientType)
|
all_ingredients = graphene.List(IngredientType)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user