Commit Graph

57 Commits

Author SHA1 Message Date
ariel1899
c632d05a10 Change 2020-04-17 14:54:18 -04:00
ariel1899
a644d03c5e Change code with black 2020-04-16 17:03:33 -04:00
ariel1899
96110b05bb Revert "Fixing pylint"
This reverts commit e75c5845
2020-04-16 15:43:43 -04:00
ariel1899
e75c584559 Fixing pylint 2020-04-16 15:35:36 -04:00
ariel1899
ed1fdc209e Fixing pylint 2020-04-16 14:46:09 -04:00
ariel1899
44679aefc5 Fixing tests 2020-04-16 14:34:13 -04:00
ariel1899
31704a4ec6 Merge remote-tracking branch 'upstream/master' into upgrade-to-v2-9-1
# Conflicts:
#	graphene_django/fields.py
#	graphene_django/forms/mutation.py
#	graphene_django/forms/tests/test_mutation.py
#	graphene_django/tests/test_fields.py
#	graphene_django/tests/test_types.py
#	graphene_django/tests/test_utils.py
#	graphene_django/types.py
#	graphene_django/utils/utils.py
2020-04-16 14:16:05 -04:00
Jonathan Kim
481d3ff35d
Fix DjangoModelFormMutation (#915)
* Fix DjangoModelFormMutation

* Try and fix tests

* Remove unused form
2020-04-12 20:01:30 +01:00
Jonathan Kim
9d9a14c36d
Fix failing tests (#931)
* Use proper model

* Remove failing test

* Add python 3.8 to test list
2020-04-12 16:18:41 +01:00
Sergey Fursov
aeb04d5b5c
use actual root/variables/context args of the execute method (#878) 2020-02-23 09:50:40 +00:00
Sergey Protasov
235096362f
Update mutation.py (#811)
* Update mutation.py

* Add tests

Co-authored-by: Jonathan Kim <jkimbo@gmail.com>
2020-02-23 09:49:39 +00:00
luto
08f67797d8 resolve django translation deprecation warnings (#847)
https://docs.djangoproject.com/en/3.0/releases/3.0/#id3
2020-01-11 14:52:41 +01:00
Jonathan Kim
96c38b4349
Update Django model form tests (#839)
* Clean up code and raise an exception if the model type is not found

* Update tests

* Fix tests
2020-01-11 14:49:44 +01:00
Jonathan Kim
0988e0798a
Adds documentation to CAMELCASE_ERRORS setting (#689)
* Rename setting and add documentation

* Add examples

* Use `cls`
2019-07-08 22:22:08 +01:00
Jonathan Kim
9aabe2cbe6
Remove duplicate ErrorType (#701) 2019-07-07 20:06:01 +01:00
Konstantin Alekseev
e2e496f505 Apply camel case converter to field names in DRF errors (#514)
* Apply camel case converter to field names in DRF errors

* Implement recursive error camelize, add setting.
2019-06-25 09:40:29 +01:00
Olivia Rodriguez Valdes
ec33fbe613 Update tests 2019-05-30 11:31:03 -04:00
Mel van Londen
865c9535b9
Bugfix: FormMutation was always causing boolean fields to be required (#613)
Bugfix: FormMutation was always causing boolean fields to be required
2019-05-09 11:47:47 -07:00
Paul Hallett
e6ad5887ca
Introduce Black formatting, additional tests 2019-05-02 17:46:35 +01:00
Ronny Vedrilla
29b8ea8398 Bugfix: FormMutation was always causing boolean fields to be required 2019-04-05 14:27:53 +02:00
Patrick Arminio
923d8282c7 Fix duplicated ErrorType declaration (#539)
* Add failing test case

* Fix duplicated ErrorType declaration
2019-03-31 12:01:43 +01:00
Alejandro Nunez Capote
b62eb0347c removing django dependency 2019-03-07 08:54:07 -05:00
Olivia Rodriguez Valdes
97b2cd08f2 Verify ALL_FIELDS after camel case 2019-03-06 16:07:37 -05:00
Olivia Rodriguez Valdes
365dfe0f14 Update tests 2019-03-04 15:34:09 -05:00
Olivia Rodriguez Valdes
e7705fe21b Add camel case to error field 2019-03-04 15:33:59 -05:00
Olivia Rodriguez Valdes
0ee2327d60 Change verification order 2019-03-04 11:31:31 -05:00
Olivia Rodriguez Valdes
b93bbb9546 Add form param to comments 2019-03-04 09:03:52 -05:00
Olivia Rodriguez Valdes
4996a72725 Set model dependency in conversion 2019-03-04 08:52:59 -05:00
Olivia Rodriguez Valdes
41222c1565 Fix lint errors 2019-03-04 08:51:21 -05:00
Olivia Rodriguez Valdes
f3660b3f30 Update tests 2019-03-03 15:34:01 -05:00
Olivia Rodriguez Valdes
6ea5e2bbaf Update converter 2019-03-03 15:33:11 -05:00
Olivia Rodriguez Valdes
8e2f626f35 Set conversion to enum 2019-03-01 16:38:47 -05:00
Olivia Rodriguez Valdes
e99d22510f Merge remote-tracking branch 'origin/master' into convert_form_choice#7 2019-03-01 15:54:55 -05:00
Olivia Rodriguez Valdes
b3d418253b Add test to converter 2019-01-07 09:03:49 -05:00
Olivia Rodriguez Valdes
9e007b962e Add converter to graphene_django 2019-01-07 09:03:37 -05:00
Olivia Rodriguez Valdes
e150c419d1 Add tests to DjangoFormMutation 2019-01-03 11:32:36 -05:00
Olivia Rodriguez Valdes
37b90de09c Remove mirror of input fields 2019-01-03 11:32:18 -05:00
Waldecir Santos
d4a9c2bb89 Fix tests. 2018-07-22 23:53:58 +01:00
Waldecir Santos
c1bd3c4c15 Exclude id from mutation, useful for create operations. 2018-07-22 23:35:11 +01:00
Syrus Akbary
54ef52e1c6 Reformatted files using black 2018-07-19 16:52:24 -07:00
Syrus Akbary
a9d819e1f7 Removed repeated function 2018-06-05 14:24:41 -07:00
Syrus Akbary
10d2f3eea7 Commented the input form class, for now 2018-06-05 14:17:07 -07:00
Syrus Akbary
bb6da28008 Merge branch 'master' into form_mutations 2018-06-05 13:31:29 -07:00
Syrus Akbary
a9e5beb9eb Merge branch 'master' into form_mutations
# Conflicts:
#	graphene_django/forms/converter.py
#	graphene_django/forms/tests/test_converter.py
2018-06-05 13:23:39 -07:00
Grant McConnaughey
c3938d1e4f Fix line length 2017-11-29 15:31:26 -06:00
Grant McConnaughey
6d7a0d053d Make id field an ID type 2017-11-29 15:25:24 -06:00
Grant McConnaughey
748dc4c509 Add id input field to model form mutation 2017-11-29 15:15:16 -06:00
Grant McConnaughey
d6dbe2a4a8 Default return_field_name is camcelcased 2017-11-29 14:20:56 -06:00
Grant McConnaughey
40610c64a3 Support instance kwarg 2017-11-29 14:12:02 -06:00
Grant McConnaughey
bf7ad7eeda Test invalid forms 2017-10-02 13:15:29 -05:00