https://github.com/creimers/graphene-graphiql-explorer
graphiql explorer for django graphene's graphiql view
https://github.com/creimers/graphene-graphiql-explorer
django graphene graphiql graphql
Last synced: 6 months ago
JSON representation
graphiql explorer for django graphene's graphiql view
- Host: GitHub
- URL: https://github.com/creimers/graphene-graphiql-explorer
- Owner: creimers
- License: mit
- Created: 2020-03-27T09:43:46.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-02-28T21:39:44.000Z (over 2 years ago)
- Last Synced: 2025-03-25T16:51:37.119Z (6 months ago)
- Topics: django, graphene, graphiql, graphql
- Language: JavaScript
- Homepage:
- Size: 7.37 MB
- Stars: 15
- Watchers: 2
- Forks: 12
- Open Issues: 31
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# graphene graphiql explorer
[](https://pypi.org/project/graphene-graphiql-explorer/)
😎 This django app adds the [ graphiql explorer ](https://github.com/OneGraph/graphiql-explorer) to graphene's graphiql view.
The graphiql version used is 1.9.10.
## Installation
`pip install graphene_graphiql_explorer`
## Setup
Add `graphene_graphiql_explorer` to your `INSTALLED_APPS`.
Override the default graphene graphiql template in your `urls.py`:
```python
from graphene_django.views import GraphQLViewGraphQLView.graphiql_template = "graphene_graphiql_explorer/graphiql.html"
urlpatterns = [
# ...
url(
r"^graphql/$",
GraphQLView.as_view(graphiql=True),
name="graphql",
),
# ...
]
```**Don't forget to collect those static files.**
Brought to you by [superservice international](https://superservice-international.com).
## Development
### Release
`python -m build`
`python -m twine upload -r testpypi dist/*`
`python -m twine check dist/*`