Skip to main content

A framework for using GraphQL with Django.

Project description

Don’t want to use Relay with Graphene? You are not alone. All other packages for django implement the Relay interface. 😞

Graphene-Django adds the ability to filter and paginate but you must follow the Relay specification which requires the use of Nodes, Edges, Connections, and Global IDs.

Apollo is a great GraphQL client and can still be used with Relay but has its downsides.


pip install graphene-django-framework


You must have docker and docker-compose

# setup the docker env with your uid and gid
echo -e "UID=$(id -u)\nGID=$(id -g)" > .env

# first migrate the database
docker-compose run web python migrate

# create a superuser to login with
docker-compose run web python createsuperuser

# run the server
docker-compose run web python runserver
# or tests
docker-compose run web python test

Project details

Download files

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

Files for graphene-django-framework, version 0.7.1
Filename, size File type Python version Upload date Hashes
Filename, size graphene_django_framework-0.7.1-py3-none-any.whl (14.8 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size graphene-django-framework-0.7.1.tar.gz (8.4 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page