Skip to content

Commit d06217d

Browse files
authored
Fix Mutations Relay example imports
Per comment here: #657 (comment)
1 parent fc49a50 commit d06217d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/mutations.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,9 @@ You can use relay with mutations. A Relay mutation must inherit from
199199

200200
.. code:: python
201201
202-
import graphene import relay, DjangoObjectType
202+
import graphene
203+
from graphene import relay
204+
from graphene_django import DjangoObjectType
203205
from graphql_relay import from_global_id
204206
205207
from .queries import QuestionType

0 commit comments

Comments
 (0)