Skip to content

[DEPRECATED | Use graphene-django package] Integrate GraphiQL easily into your Django project

Notifications You must be signed in to change notification settings

GraphQL-python-archive/django-graphiql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Django GraphiQL PyPI version

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')),
]

If you want to configure the default query, just set GRAPHIQL_DEFAULT_QUERY in your settings to the desired value.

About

[DEPRECATED | Use graphene-django package] Integrate GraphiQL easily into your Django project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published