Tools for use [graphene-django](https://github.com/graphql-python/graphene-django)
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
graphene_django_tools
pic
test_site
tests
.gitignore
.pylintrc
LICENSE
Pipfile
Pipfile.lock
README.md
glossary.md
manage.py
setup.py

README.md

Tools for use graphene-django

Only support python3.7

MainFeature

Query

  • ModelField
  • ModelConnectionField
  • ModelFilterConnectionField

example schema

Map the user model with filter in 10 lines.

Mutation

  • ModelMutation
  • ModelCreateMutation
  • ModelUpdateMutation

example: graphene_django_tools.auth module

Map the user model with password validation in 40 lines.

Reimplemented Mutation class

Supports arguments on interface.

class ClientMutationID(graphene.Interface):
    """Mutation with a client mutation id.  """

    class Arguments:
        client_mutation_id = graphene.String()

    client_mutation_id = graphene.String()