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
Release files for graphene-django-framework 0.7.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| graphene-django-framework-0.7.1.tar.gz | 8.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| graphene_django_framework-0.7.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 23.2 kB
Release files / graphene-django-framework-0.7.1.tar.gz
| Download URL | graphene-django-framework-0.7.1.tar.gz |
|---|---|
| Size | 8.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
72541743e45c0beb3ad2cc0ecf0777c9463ecb32ae3668d4167e32bcc0349546
|
|
BLAKE2b-256 checksum How to use checksums |
cede2025347dda2b8e0079b49fb59bdc8d27b848bef4e8869d86f9e060f9cb08
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / graphene_django_framework-0.7.1-py3-none-any.whl
| Download URL | graphene_django_framework-0.7.1-py3-none-any.whl |
|---|---|
| Size | 14.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
dd25f6c15c788e92c1ff53174a0ad83ee4601064ebb32a642820cff6f0c5cde9
|
|
BLAKE2b-256 checksum How to use checksums |
4ee640fc905ff5d5aa2bed697627d459a284cf321ed9edff634380af90103e11
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|