mirror of
https://github.com/graphql-python/graphene-django.git
synced 2025-07-13 01:32:24 +03:00
Avoid: AssertionError at /graphql
This avoids the confusing error of: AssertionError at /graphql
This commit is contained in:
parent
bbf119cd3b
commit
0c947d7005
|
@ -59,9 +59,10 @@ The most basic ``schema.py`` looks like this:
|
|||
.. code:: python
|
||||
|
||||
import graphene
|
||||
from graphene_django.debug import DjangoDebug
|
||||
|
||||
class Query(graphene.ObjectType):
|
||||
pass
|
||||
debug = graphene.Field(DjangoDebug, name="_debug")
|
||||
|
||||
schema = graphene.Schema(query=Query)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user