def METHOD_NAME(self, request: HttpRequest) -> HttpResponse:
    try:
        template = Template(render_to_string("graphql/graphiql.html"))
    except TemplateDoesNotExist:
        template = Template(get_graphiql_html(replace_variables=False))
    context = {"SUBSCRIPTION_ENABLED": json.dumps(self.subscriptions_enabled)}
    response = TemplateResponse(request=request, template=None, context=context)
    response.content = template.render(RequestContext(request, context))
    return response