diff --git a/graphene_django/templates/graphene/graphiql.html b/graphene_django/templates/graphene/graphiql.html index 3285683..949b850 100644 --- a/graphene_django/templates/graphene/graphiql.html +++ b/graphene_django/templates/graphene/graphiql.html @@ -112,7 +112,7 @@ add "&raw" to the end of the URL within a browser. {% if variables %} variables: '{{ variables|escapejs }}', {% endif %} - {% if operationName %} + {% if operation_name %} operationName: '{{ operation_name|escapejs }}', {% endif %} }),