Commit Graph

50 Commits

Author SHA1 Message Date
Mardanov Timur Rustemovich
05093d862f trying to fix list inner types 2018-11-22 20:56:48 +03:00
Mardanov Timur Rustemovich
cd67598c0b list fix 2018-11-22 20:54:18 +03:00
Mardanov Timur Rustemovich
50b41f8e56 filter 2018-11-21 06:11:29 +03:00
Mardanov Timur Rustemovich
03af6a139a fix 2018-11-21 02:30:53 +03:00
Mardanov Timur Rustemovich
9aed86f668 use connection field 2018-11-21 02:27:41 +03:00
Mardanov Timur Rustemovich
21ec388866 try1 2018-11-21 02:05:11 +03:00
Mardanov Timur Rustemovich
452ceaa591 trying to create One definition 2018-11-21 01:45:52 +03:00
Mardanov Timur Rustemovich
665e64d041 check relationship function 2018-11-21 01:34:50 +03:00
Mardanov Timur Rustemovich
61c67853c3 fixed imports 2018-11-20 12:35:46 +03:00
Mardanov Timur Rustemovich
628ad8e1ef fixed 2018-11-20 12:30:40 +03:00
Mardanov Timur Rustemovich
f544ac6f4f fix 2018-11-20 12:15:35 +03:00
Mardanov Timur Rustemovich
c233330115 fix 2018-11-20 12:14:12 +03:00
Mardanov Timur Rustemovich
890ef28b85 fixed field choices realisation 2018-11-20 12:09:28 +03:00
Mardanov Timur Rustemovich
1ecc760a6b removed print 2018-11-20 05:00:01 +03:00
Mardanov Timur Rustemovich
b3d8ed36c0 fix 2018-11-20 04:37:17 +03:00
Mardanov Timur Rustemovich
8df0a44d65 fix 2018-11-20 04:23:54 +03:00
Mardanov Timur Rustemovich
c434fa9387 fixed converter 2018-11-20 04:09:44 +03:00
Mardanov Timur Rustemovich
d1cefbef17 try to enable fucking definition 2018-11-20 04:07:36 +03:00
Mardanov Timur Rustemovich
0e1ca2fbc0 define init relationships 2018-11-20 03:43:00 +03:00
Mardanov Timur Rustemovich
8b1d1874ed property kwargs 2018-11-19 22:08:51 +03:00
Mardanov Timur Rustemovich
a65c3c20e9 not related props 2018-11-19 22:02:08 +03: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
Syrus Akbary
546a82b7ec Updated time imports 2018-06-05 13:32:32 -07:00
=
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