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-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -34,8 +34,9 @@ def graphql_view(request):
34
34
*`schema`: The `GraphQLSchema` object that you want the view to execute when it gets a valid request.
35
35
*`context`: A value to pass as the `context` to the `graphql()` function.
36
36
*`root_value`: The `root_value` you want to provide to `executor.execute`.
37
+
*`format_error`: If you want to use a custom error formatter.
37
38
*`pretty`: Whether or not you want the response to be pretty printed JSON.
38
39
*`executor`: The `Executor` that you want to use to execute queries.
39
40
*`graphiql_enabled`: If `True` (default), may present [GraphiQL](https://github.com/graphql/graphiql) when loaded directly from a browser (a useful tool for debugging and exploration).
40
-
*`graphiql_template`: Inject a Jinja template string to customize GraphiQL.
41
+
*`render_graphiql`: A custom function for rendering GraphiQL (this function should have the arguments `result` and `params`).
41
42
*`batch_enabled`: Enable batch support (for using in [Apollo-Client](http://dev.apollodata.com/core/network.html#query-batching) or [ReactRelayNetworkLayer](https://github.com/nodkz/react-relay-network-layer))
0 commit comments