We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 787ba73 commit f6684caCopy full SHA for f6684ca
examples/cookbook/cookbook/schema.py
@@ -3,8 +3,6 @@
3
4
from graphene_django.debug import DjangoDebug
5
6
-# print cookbook.ingredients.schema.Query._meta.graphql_type.get_fields()['allIngredients'].args
7
-
8
9
class Query(cookbook.ingredients.schema.Query, graphene.ObjectType):
10
debug = graphene.Field(DjangoDebug, name='__debug')
examples/cookbook/cookbook/settings.py
@@ -55,7 +55,10 @@
55
]
56
57
GRAPHENE = {
58
- 'SCHEMA': 'cookbook.schema.schema'
+ 'SCHEMA': 'cookbook.schema.schema',
59
+ 'MIDDLEWARE': (
60
+ 'graphene_django.debug.DjangoDebugMiddleware',
61
+ )
62
}
63
64
ROOT_URLCONF = 'cookbook.urls'
0 commit comments