mirror of
https://github.com/graphql-python/graphene-django.git
synced 2025-02-12 09:30:35 +03:00
Fix Mutations Relay example imports
Per comment here: https://github.com/graphql-python/graphene-django/pull/657#issuecomment-499618785
This commit is contained in:
parent
fc49a50cc3
commit
d06217d203
|
@ -199,7 +199,9 @@ You can use relay with mutations. A Relay mutation must inherit from
|
||||||
|
|
||||||
.. code:: python
|
.. code:: python
|
||||||
|
|
||||||
import graphene import relay, DjangoObjectType
|
import graphene
|
||||||
|
from graphene import relay
|
||||||
|
from graphene_django import DjangoObjectType
|
||||||
from graphql_relay import from_global_id
|
from graphql_relay import from_global_id
|
||||||
|
|
||||||
from .queries import QuestionType
|
from .queries import QuestionType
|
||||||
|
|
Loading…
Reference in New Issue
Block a user