Metadata-Version: 2.1
Name: graphene-graphiql-explorer
Version: 0.1.1
Summary: A Django app that adds graphiql explorer to the graphiql view
Home-page: https://github.com/creimers/graphene-graphiql-explorer
Author: creimers
Author-email: christoph@superservice-international.com
License: MIT
Classifier: Environment :: Web Environment
Classifier: Framework :: Django
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
Description-Content-Type: text/markdown
License-File: LICENSE

# graphene graphiql explorer

![PyPI](https://img.shields.io/pypi/v/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 GraphQLView

GraphQLView.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/*`
