Jason Kraus
4ba3b544c9
Merge remote-tracking branch 'up/master' into enum_conversion_fixes
2019-06-17 11:38:16 -07:00
Jonathan Kim
612ba5a4ea
Add convert_choices_to_enum option on DjangoObjectType Meta class ( #674 )
...
* Add convert_choices_to_enum meta option
* Add tests
* Run black
* Update documentation
* Add link to Django choices documentation
* Add test and documentation note
That setting to an empty list is the same as setting the value as False
* Fix Django warning in tests
* rst is not markdown
2019-06-17 18:48:29 +01:00
Jason Kraus
de7edaae76
expand test case to cover underscores that are sunder, dunder, and general underscore
2019-06-11 10:29:49 -07:00
Jason Kraus
59184a117d
prefix underscore choice name only if it is dunder, otherwise underscores like sunder are allowed
2019-06-10 17:16:10 -07:00
Jason Kraus
43233d7d9d
expand test assertions so that test enum conversion with underscores is more interpretable
2019-06-10 11:47:52 -07:00
Jason Kraus
9275163fa0
test and handle choices that start with an underscore, issue #141
2019-06-10 09:29:55 -07:00
Paul Hallett
e6ad5887ca
Introduce Black formatting, additional tests
2019-05-02 17:46:35 +01:00
Ronny Vedrilla
d5d0c519ce
Replaced a copy-paste error causing one test case not to run
2019-03-27 15:21:15 +01:00
Jay Hale
0314931f12
Removed Django < 1.11 compatibility checks from tests
2018-09-04 13:15:04 -04:00
Syrus Akbary
54ef52e1c6
Reformatted files using black
2018-07-19 16:52:24 -07:00
Syrus Akbary
27a7c0e299
Added support for FilePathField
2018-06-05 14:39:51 -07:00
=
62c0694901
models.DateField corresponds to graphene Date Scalar
2017-12-05 15:04:29 -05:00
Syrus Akbary
72529b70bb
Fixed all tests and flake issues
2017-07-24 23:42:40 -07:00
Syrus Akbary
48bcccdac2
Improved integration with Graphene 2.0
2017-07-24 22:27:50 -07:00
Patrick Arminio
82055ac109
Add missing imports
2017-06-23 13:05:11 +01:00
Patrick Arminio
712d57e043
Delete RelatedObject import
2017-06-23 12:51:19 +01:00
Patrick Arminio
7fd6125199
Fix compatibility with pypy
2017-06-23 12:48:32 +01:00
Patrick Arminio
245ebe3d91
Remove some compatility layers for django 1.6
2017-06-23 12:32:43 +01:00
Pablo Chinea
89d0f0ca92
Handles multiple collisions with the same key.
2017-01-05 09:49:26 +00:00
Pablo Chinea
2c26774c62
Avoid collisions in choices names conversion.
2017-01-04 16:23:17 +00:00
Paul Bailey
402cd645e8
added time field test
2016-11-23 12:24:53 -05:00
Paul Bailey
509645d3bd
added time field test
2016-11-23 12:07:40 -05:00
Syrus Akbary
8136223bb1
Added duration field and improved UUID conversion
2016-10-15 16:43:27 -07:00
Syrus Akbary
459270cc09
Fixed tests
2016-10-15 16:04:32 -07:00
Syrus Akbary
1a728e4e88
Fixed tests
2016-09-22 20:49:51 -07:00
Syrus Akbary
b8f9fec674
Added required conversion to model and form fields. Fixed #2
2016-09-22 20:03:47 -07:00
Syrus Akbary
70dbd4b512
Improved PEP8 syntax
2016-09-19 22:15:10 -07:00
Syrus Akbary
4e23c3ccf6
Improved python syntax and sorts (pep8). Improved Readme
2016-09-17 17:09:56 -07:00
Syrus Akbary
0434899b4e
Isolated Graphene Django in a new package
2016-09-17 16:31:17 -07:00