diff --git a/graphene_django/views.py b/graphene_django/views.py index c23b02081..d91f15b37 100644 --- a/graphene_django/views.py +++ b/graphene_django/views.py @@ -11,7 +11,7 @@ from django.views.generic import View from graphql import OperationType, get_operation_ast, parse, validate from graphql.error import GraphQLError -from graphql.error import format_error as format_graphql_error +from graphql.error import GraphQLFormattedError as format_graphql_error from graphql.execution import ExecutionResult from graphene import Schema