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
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Concerning "The GraphiQL client" documentation. here:
https://github.com/datadvance/DjangoChannelsGraphqlWs#the-graphiql-client
I made a fix in graphql-python/graphene-django which has been merged here:
graphql-python/graphene-django#1124
If someone developing a
project_name
app does not have the newest version of graphene-django installed, or while waiting for a new stable graphene-django package to get pushed to PyPi, an easy fix instead of copying the following html file:https://github.com/datadvance/DjangoChannelsGraphqlWs/blob/master/example/graphiql.html
is now instead to copy the JS static file from here:
https://github.com/graphql-python/graphene-django/blob/main/graphene_django/static/graphene_django/graphiql.js
in
project_name/static/graphene_django/graphiql.js
and to haveproject_name
beforegraphene-django
insettings.INSTALLED_APPS
.Let me know if anything is unclear.
Beta Was this translation helpful? Give feedback.
All reactions