Skip to main content

graphene graphiql explorer

PyPI

😎 This django app adds the 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:

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.

Development

Release

python -m build

python -m twine upload -r testpypi dist/*

python -m twine check dist/*

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

graphene_graphiql_explorer-0.1.1.tar.gz (1.4 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

graphene_graphiql_explorer-0.1.1-py2.py3-none-any.whl (1.5 MB view details)

Uploaded Python 2Python 3

File details

Details for the file graphene_graphiql_explorer-0.1.1.tar.gz.

File metadata

File hashes

Hashes for graphene_graphiql_explorer-0.1.1.tar.gz
Algorithm Hash digest
SHA256 7bb82ab9da19a76fca3b994740d616572b7f3b44ddf4653286d8661b9f67a136
MD5 ea0851eda7e2d06b24a64ec1d98a3e1d
BLAKE2b-256 4c50a57cd4ec8f8562c4966e9fe936fb498f14deeec91fc5ab2eb63e7d04e7a8

See more details on using hashes here.

File details

Details for the file graphene_graphiql_explorer-0.1.1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for graphene_graphiql_explorer-0.1.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 65ede149bfdffa4c627d8ac6947a88aa7b19a2352b872372c90f12bffdf713d7
MD5 08ae8e5442e38819a8b50c5f2c83f8ba
BLAKE2b-256 fd43d65bd6c0d5d20eecc0aece89c7c61cbdbfdea3c72523df5e5e3cc4fbbd5b

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 files

0.1.0

2 files

0.0.1

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page