A framework for using GraphQL with Django.
Project description
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.
Install
pip install graphene-django-framework
Hacking
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
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for graphene-django-framework-0.5.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a8a8e535762d696657b23a8d3f5dc6ca50703be942d0a26177b95c5367c31ed4 |
|
MD5 | 5c5154cf6f427aa63d1645bc3aaf5a7a |
|
BLAKE2b-256 | 260229ac890c9ff09d51a988fff42dbca61400d1088d096b9d6ab7baefcb8392 |
Close
Hashes for graphene_django_framework-0.5.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 90a6cf82f89a26536f0e7c30dc26417ae610db816cc124598a1bdaf278dbb38d |
|
MD5 | 06b99c5f74a30dc92e19bd87787f3172 |
|
BLAKE2b-256 | a8e7ab16cd0bab6fecec708e6eed84f98a9d3b8ab9d5adddb9e3288d7325453e |