tutorial was missing import

This commit is contained in:
chriscauley 2016-11-03 12:20:40 -04:00
parent a7caad0cf4
commit 65f2dabdb6
2 changed files with 2 additions and 0 deletions

View File

@ -58,6 +58,7 @@ To create a GraphQL schema for it you simply have to write the following:
```python ```python
from graphene_django import DjangoObjectType from graphene_django import DjangoObjectType
import graphene
class User(DjangoObjectType): class User(DjangoObjectType):
class Meta: class Meta:

View File

@ -68,6 +68,7 @@ following:
.. code:: python .. code:: python
from graphene_django import DjangoObjectType from graphene_django import DjangoObjectType
import graphene
class User(DjangoObjectType): class User(DjangoObjectType):
class Meta: class Meta: