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.
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
File details
Details for the file graphene-django-framework-0.7.1.tar.gz
.
File metadata
- Download URL: graphene-django-framework-0.7.1.tar.gz
- Upload date:
- Size: 8.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.8.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 72541743e45c0beb3ad2cc0ecf0777c9463ecb32ae3668d4167e32bcc0349546 |
|
MD5 | 9137e540b4f59060a039aae280f114c7 |
|
BLAKE2b-256 | cede2025347dda2b8e0079b49fb59bdc8d27b848bef4e8869d86f9e060f9cb08 |
File details
Details for the file graphene_django_framework-0.7.1-py3-none-any.whl
.
File metadata
- Download URL: graphene_django_framework-0.7.1-py3-none-any.whl
- Upload date:
- Size: 14.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.8.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dd25f6c15c788e92c1ff53174a0ad83ee4601064ebb32a642820cff6f0c5cde9 |
|
MD5 | 6b37b0d1ec40e442939bfc28cdd39f9d |
|
BLAKE2b-256 | 4ee640fc905ff5d5aa2bed697627d459a284cf321ed9edff634380af90103e11 |