mirror of
https://github.com/graphql-python/graphene-django.git
synced 2025-02-06 14:40:35 +03:00
tutorial was missing import
This commit is contained in:
parent
a7caad0cf4
commit
65f2dabdb6
|
@ -58,6 +58,7 @@ To create a GraphQL schema for it you simply have to write the following:
|
|||
|
||||
```python
|
||||
from graphene_django import DjangoObjectType
|
||||
import graphene
|
||||
|
||||
class User(DjangoObjectType):
|
||||
class Meta:
|
||||
|
|
|
@ -68,6 +68,7 @@ following:
|
|||
.. code:: python
|
||||
|
||||
from graphene_django import DjangoObjectType
|
||||
import graphene
|
||||
|
||||
class User(DjangoObjectType):
|
||||
class Meta:
|
||||
|
|
Loading…
Reference in New Issue
Block a user