You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -23,8 +23,8 @@ This will add `/graphql` and `/graphiql` endpoints to your app.
23
23
*`root_value`: The `root_value` you want to provide to `executor.execute`.
24
24
*`pretty`: Whether or not you want the response to be pretty printed JSON.
25
25
*`executor`: The `Executor` that you want to use to execute queries.
26
-
*`graphiql`: If `True`, may present [GraphiQL](https://github.com/graphql/graphiql) when loaded directly
27
-
from a browser (a useful tool for debugging and exploration).
26
+
*`graphiql`: If `True`, may present [GraphiQL](https://github.com/graphql/graphiql) when loaded directly from a browser (a useful tool for debugging and exploration).
27
+
*`graphiql_template`: Inject a Jinja template string to customize GraphiQL.
28
28
29
29
You can also subclass `GraphQLView` and overwrite `get_root_value(self, request)` to have a dynamic root value
0 commit comments