A framework for using GraphQL with Django.
Don’t want to use Relay with Graphene? Me either. All other packages for django implement the Relay interface :(
graphene-django (todo: add link) adds the ability to filter and page but you must follow the Relay specs and that requires the use of Nodes, Edges, Connections, and Global ID’s.
Apollo is a great GraphQL client and can still be used with Relay but has it’s down sides.
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 manage.py migrate # create a superuser to login with docker-compose run web python manage.py createsuperuser # run the server docker-compose run web python manage.py runserver # or tests docker-compose run web python manage.py test
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size & hash SHA256 hash help||File type||Python version||Upload date|
|graphene_django_framework-0.5.0-py3-none-any.whl (14.2 kB) Copy SHA256 hash SHA256||Wheel||py3|
|graphene-django-framework-0.5.0.tar.gz (7.5 kB) Copy SHA256 hash SHA256||Source||None|