mirror of
https://github.com/graphql-python/graphene-django.git
synced 2024-11-22 17:47:12 +03:00
30 lines
1.0 KiB
HTML
30 lines
1.0 KiB
HTML
<!--
|
|
The request to this GraphQL server provided the header "Accept: text/html"
|
|
and as a result has been presented GraphiQL - an in-browser IDE for
|
|
exploring GraphQL.
|
|
If you wish to receive JSON, provide the header "Accept: application/json" or
|
|
add "&raw" to the end of the URL within a browser.
|
|
-->
|
|
{% load static %}
|
|
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<style>
|
|
html, body {
|
|
height: 100%;
|
|
margin: 0;
|
|
overflow: hidden;
|
|
width: 100%;
|
|
}
|
|
</style>
|
|
<link href="//cdn.jsdelivr.net/npm/graphiql@{{graphiql_version}}/graphiql.css" rel="stylesheet" />
|
|
<script src="//cdn.jsdelivr.net/npm/whatwg-fetch@2.0.3/fetch.min.js"></script>
|
|
<script src="//cdn.jsdelivr.net/npm/react@16.2.0/umd/react.production.min.js"></script>
|
|
<script src="//cdn.jsdelivr.net/npm/react-dom@16.2.0/umd/react-dom.production.min.js"></script>
|
|
<script src="//cdn.jsdelivr.net/npm/graphiql@{{graphiql_version}}/graphiql.min.js"></script>
|
|
</head>
|
|
<body>
|
|
<script src="{% static 'graphene_django/graphiql.js' %}"></script>
|
|
</body>
|
|
</html>
|