Skip to main content
PyCon US is happening May 14th-22nd in Pittsburgh, PA USA.  Learn more

Integrate GraphiQL easily into your Django project

Project description

https://badge.fury.io/py/django-graphiql.svg

Django GraphiQL is a library for integrating GraphiQL inside your Django project, so you can test your GraphQL schemas easily.

This library versioning go in partity with GraphiQL.

Installing

For installing this library just run in your favorite shell:

pip install django-graphiql

Configuring

In settings.py add 'django_graphiql' into INSTALLED_APPS, so it will look like

INSTALLED_APPS = [
    # ...
    'django_graphiql',
    # ...
]

And then, add into your urls.py:

urlpatterns = [
    # Your other urls...
    url(r'^graphiql', include('django_graphiql.urls')),
]

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page