diff --git a/graphene_django/templates/graphene/graphiql.html b/graphene_django/templates/graphene/graphiql.html index 328568358..949b8508d 100644 --- a/graphene_django/templates/graphene/graphiql.html +++ b/graphene_django/templates/graphene/graphiql.html @@ -112,7 +112,7 @@ {% if variables %} variables: '{{ variables|escapejs }}', {% endif %} - {% if operationName %} + {% if operation_name %} operationName: '{{ operation_name|escapejs }}', {% endif %} }),