Commit Graph

37 Commits

Author SHA1 Message Date
MardanovTimur
7091216c14 fixed get_node method. Updated with graphene-django 2019-05-28 03:57:25 +03:00
MardanovTimur
02afb15d85 fixed conflicts 2019-05-28 03:47:42 +03: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
Jason Kraus
0a5020bee1 Get queryset (#528)
* first attempt at adding get_queryset

* add queryset_resolver to DjangoConnectionField and fix test failures

* cleanup get_queryset API to match proposal as close as possible

* pep8 fix: W293

* document get_queryset usage

* add test for when get_queryset is defined on DjangoObjectType
2019-03-31 12:01:17 +01:00
MardanovTimur
7ab0e806c1 added advanced utils + self written constructors 2019-03-23 04:04:31 +03:00
Jonathan Kim
ce8fa7f9f2 Fix lint error 2019-03-09 22:39:04 +01:00
Mardanov Timur Rustemovich
59f73c7f27 fixed typo 2019-01-15 18:18:07 +03:00
Mardanov Timur Rustemovich
8459f7bcc8 fixed define root class 2019-01-15 18:13:18 +03:00
Mardanov Timur Rustemovich
850cbf92c2 default type is list 2018-11-29 17:47:42 +03:00
Mardanov Timur Rustemovich
15a6744aea added filtering and parent node support 2018-11-29 16:24:36 +03:00
Mardanov Timur Rustemovich
f7e5d8bb39 added neomodel filter fields 2018-11-26 23:20:10 +03:00
Mardanov Timur Rustemovich
50b41f8e56 filter 2018-11-21 06:11:29 +03:00
Mardanov Timur Rustemovich
25d62a2afa trying to load one relationship 2018-11-21 01:50:45 +03:00
Mardanov Timur Rustemovich
fc1521b2f0 fixed is_typ_of 2018-11-19 22:51:24 +03:00
Mardanov Timur Rustemovich
65ab452045 fix type 2018-11-19 22:44:22 +03:00
Mardanov Timur Rustemovich
3c16928ed2 fix meta model 2018-11-19 22:27:15 +03:00
Mardanov Timur Rustemovich
1c1e0cce15 support neomodel in metaclass 2018-11-19 21:24:46 +03:00
Syrus Akbary
54ef52e1c6 Reformatted files using black 2018-07-19 16:52:24 -07:00
Syrus Akbary
c0edb0c927
Merge pull request #373 from jm2242/proxy-model-support
Basic Proxy model support
2018-02-11 13:46:13 -08:00
Jonathan Mares
0b103417f9 on_delete param where needed due to django 2 requirements
added support for querying a model with objects that may be a proxy model, fixed and added tests

a few style changes
2018-02-03 11:10:04 -05:00
mongkok
167d0a3964 Allow DjangoObjectType to have default _meta 2018-01-22 01:03:52 +05:30
Charles Haro
2a39f5d8ea Allow abstract Connection Class to DjangoObjectType
referred to as connection_class, it will instantiate the connection from the provided class or default to graphene.Connection if not supplied
2017-10-30 14:35:29 -07:00
Syrus Akbary
3d58148f03 Code adapted to new resolver API 2017-07-28 09:43:27 -07:00
Syrus Akbary
72529b70bb Fixed all tests and flake issues 2017-07-24 23:42:40 -07:00
Syrus Akbary
18db46e132 Removed Meta inheritance in favor of __init_subclass_with_meta__ 2017-07-24 22:27:26 -07:00
Syrus Akbary
eb02f8781c Merge pull request #74 from momamene/fix-reverse-fields-name
#63 Get name of reverse_fields from model.__dict__
2017-03-15 21:37:48 -07:00
Matthías Páll Gissurarson
aed7229bae Allow nodes to skip the registry 2017-02-02 20:29:21 +01:00
momamene
45542b6a93 Remove meaningless guard 2016-12-14 12:13:11 +00:00
momamene
8bb55ed79d Get name of reverse_fields from model.__dict__ 2016-12-14 08:13:46 +00:00
Syrus Akbary
8dfe7bbcf5 Remove filter order_by as Django Filters have deprecated it in 1.0 2016-11-23 02:15:05 -08:00
Timothy Laurent
1fdd7756ec better endswith 2016-11-10 10:16:44 -08:00
Timothy Laurent
aa6be2c527 cast name to string 2016-11-10 00:19:35 -08:00
Timothy Laurent
6801b69ce9 don\'t use fields that end in a plus 2016-11-09 23:56:14 -08:00
Syrus Akbary
d73f4aa235 Added support for SimpleLazyObject. Fixed #22 2016-10-15 17:40:12 -07:00
Morgante Pell
900354837e
Fix id lookup to handle cases where the primary key of the Django model is not called ID 2016-10-13 02:52:58 -04: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