Skip to content

Commit

Permalink
Display variables as JSON in GraphiQL
Browse files Browse the repository at this point in the history
Closes #36
  • Loading branch information
bcb committed Oct 31, 2016
1 parent d348ec8 commit 87422a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion graphene_django/views.py
Expand Up @@ -131,7 +131,7 @@ def dispatch(self, request, *args, **kwargs):
request,
graphiql_version=self.graphiql_version,
query=query or '',
variables=variables or '',
variables=json.dumps(variables) or '',
operation_name=operation_name or '',
result=result or ''
)
Expand Down

0 comments on commit 87422a0

Please sign in to comment.