Skip to content

Commit 65f2dab

Browse files
committed
tutorial was missing import
1 parent a7caad0 commit 65f2dab

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ To create a GraphQL schema for it you simply have to write the following:
5858

5959
```python
6060
from graphene_django import DjangoObjectType
61+
import graphene
6162

6263
class User(DjangoObjectType):
6364
class Meta:

README.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ following:
6868
.. code:: python
6969
7070
from graphene_django import DjangoObjectType
71+
import graphene
7172
7273
class User(DjangoObjectType):
7374
class Meta:

0 commit comments

Comments
 (0)