mirror of
https://github.com/graphql-python/graphene-django.git
synced 2024-11-11 04:07:57 +03:00
Merge pull request #39 from chriscauley/master
tutorial was missing import
This commit is contained in:
commit
c3609f9200
|
@ -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