From d06217d2033375d19ad0cdaf4b0afb74c0eba408 Mon Sep 17 00:00:00 2001 From: Richard Sween Date: Thu, 6 Jun 2019 13:53:16 -0500 Subject: [PATCH] Fix Mutations Relay example imports Per comment here: https://github.com/graphql-python/graphene-django/pull/657#issuecomment-499618785 --- docs/mutations.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/mutations.rst b/docs/mutations.rst index 15bef1d0e..661015171 100644 --- a/docs/mutations.rst +++ b/docs/mutations.rst @@ -199,7 +199,9 @@ You can use relay with mutations. A Relay mutation must inherit from .. 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 .queries import QuestionType