Commit Graph

26 Commits

Author SHA1 Message Date
=
1352d4e02b Fix func names 2017-12-18 12:33:42 -05:00
=
62c0694901 models.DateField corresponds to graphene Date Scalar 2017-12-05 15:04:29 -05:00
Syrus Akbary
5661db88d1
Merge pull request #156 from aaxelb/master
Fix #87: Don't create duplicate Enums for fields with choices
2017-11-14 21:14:51 -08:00
Abram Booth
b5e7614b05 More specific None check. 2017-10-31 09:33:16 -04:00
Syrus Akbary
a4cc360184 Merge branch 'master' into fix-deprecation-warnings 2017-08-29 22:33:10 -07:00
Abram Booth
be20450a66 Don't break on inherited choices fields.
Store converted Django fields in the registry, so choices enums are not
created multiple times when inherited by child models.
2017-08-24 12:49:02 -04:00
Ed Morley
b0df510872 Remove usages of deprecated field.rel
Since they were only required for Django <1.8 and cause the following
deprecation warnings:

```
utils.py:61: RemovedInDjango20Warning: Usage of field.rel has been deprecated. Use field.remote_field instead.
    if hasattr(field, 'rel'):
utils.py:63: RemovedInDjango20Warning: Usage of ForeignObjectRel.to attribute has been deprecated. Use the model attribute instead.
    return field.rel.to
```

Fixes #242.
2017-08-14 14:01:04 +01: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
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
10699c0b6b added time field 2016-11-23 12:25:59 -05:00
Paul Bailey
91365ff670 added timefield support 2016-11-23 11:29:04 -05:00
Syrus Akbary
5289cd06d7 Improved choice Enum converter 2016-11-14 22:30:20 -08:00
Syrus Akbary
8136223bb1 Added duration field and improved UUID conversion 2016-10-15 16:43:27 -07:00
Morgante Pell
5ad21f1765
Fix #19 by using choice keys as enum keys, not choice descriptions 2016-10-13 22:01:54 -04: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
7fbc3e69b1 Improved Django List retreival and added extra tests. 2016-09-21 19:34:30 -07:00
Conrad Kramer
17178cfcbf Added a DjangoToManyField to handle to-many relationships
To-many relationships return a manager, which needs to be turned
into an iterable (its queryset) using `maybe_queryset`.
2016-09-20 21:25:05 -07:00
Syrus Akbary
5cba3f67fe Fixed OneToOneField Django 1.6+ bug 2016-09-17 18:11:38 -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