graphene-django/graphene_django/forms/tests
ndpu be17278b49
Add DjangoFormInputObjectType to forms/types (#1325)
* Add DjangoFormInputObjectType to forms/types

InputObjectType derived class which gets fields from django form.
Type of fields with choices (converted to enum) is set to custom scalar
type (using Meta.object_type) to dynamically convert enum values back.

* Correct Reporter model a_choice field type according to CHOICES tuple

* Add tests for DjangoFormInputObjectType

* Add pyenv files to .gitignore

* Fix pyupgrade

* Fix tests

* Add docs

* Fix docs example

---------

Co-authored-by: Firas Kafri <3097061+firaskafri@users.noreply.github.com>
2023-05-24 15:58:50 +03:00
..
__init__.py Add Django form-based mutations 2017-10-02 09:31:58 -05:00
test_converter.py Fix broken UT due to pytest import error (#1368) 2022-11-14 13:56:18 +03:00
test_djangoinputobject.py Add DjangoFormInputObjectType to forms/types (#1325) 2023-05-24 15:58:50 +03:00
test_mutation.py Fix broken UT due to pytest import error (#1368) 2022-11-14 13:56:18 +03:00