Commit Graph

885 Commits

Author SHA1 Message Date
Syrus Akbary
b8fb64d893
Merge branch 'master' into fix-select-related 2017-11-13 02:31:15 -08:00
Syrus Akbary
dfa0a06cce
Merge pull request #266 from miguel550/master
Fix code example typos in "Getting single objects" from tutorial-plain.rst
2017-11-13 02:29:00 -08:00
Syrus Akbary
94e2a5c49f
Merge pull request #313 from BossGrand/feature/allow_abstract_connections
Allow DjangoObjectType to use an Abstract Connection Class
2017-11-13 02:23:46 -08:00
Syrus Akbary
e666d849be
Merge pull request #315 from BossGrand/fix/django_filter_connection_field_merge_queries
Fix Bug causing DjangoFilterConnectionField to ignore annotations, .reverse()
2017-11-13 02:22:23 -08:00
Paul Bailey
e05f41af40 fixed indentation 2017-11-12 23:10:29 +00:00
Syrus Akbary
ec2cea1afa
Merge pull request #311 from tervay/typo-fixes
Fix documentation typos
2017-11-12 10:26:16 -08:00
Syrus Akbary
bc15439e3d
Merge pull request #316 from mekhami/patch-1
Update README to reflect that resolve_only_args is deprecated
2017-11-12 10:25:42 -08:00
Syrus Akbary
f0f117663c
Merge pull request #306 from vpoulailleau/patch-1
typo in authorization.rst
2017-11-12 10:25:24 -08:00
Paul Bailey
e7391937dd fixes #322, fixed incorrect serializer instance usage 2017-11-10 21:49:48 +00:00
mekhami
a3f3d90ab7
Update README to reflect that resolve_only_args is deprecated
As resolve_only_args is deprecated, let's remove it from the README.
2017-11-04 12:29:58 -05:00
Charles Haro
4013f78ecb fix default_queryset overriding queryset when merging queries 2017-11-03 12:26:49 -07:00
Charles Haro
6d0837e7cb add test to show annotation not being perservered 2017-11-03 12:26:33 -07:00
Charles Haro
5491e2cb00 add test to show .reverse() not being perserved 2017-11-03 12:25:22 -07:00
Justin Tervay
bbcd69967c
Fix typos 2017-11-01 13:56:28 -07:00
Abram Booth
b5e7614b05 More specific None check. 2017-10-31 09:33:16 -04:00
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
Vincent Poulailleau
00b5a176d3
typo in authorization.rst
fix a small typo error in the documentation
2017-10-30 09:54:09 +01:00
Syrus Akbary
2600f0f041 Point to stable version of Graphene 2.0 2017-10-26 00:21:11 -07:00
Syrus Akbary
5051d3bb61 Fixed lint 2017-10-25 10:54:13 -07:00
Syrus Akbary
de3947351b Updated graphene-django to 2.0 🎉 2017-10-25 10:49:37 -07:00
Jacob
1d76db8164 Use super for base queryset logic 2017-10-14 13:23:08 -05:00
Cameron Dawson
69cec060d8 Fix select_related with filtering 2017-10-14 13:23:08 -05:00
Syrus Akbary
283bccf9d3 Merge pull request #287 from spockNinja/fix_master_failing_test
Fix failing master test
2017-10-11 00:03:17 +02:00
Jacob
768fca668d Trying conditional build install override 2017-10-10 00:09:28 -05:00
Jacob
886d909a9a Pin drf to < 3.7, fixes failing tests 2017-10-09 23:47:21 -05:00
Syrus Akbary
77f036157b Merge pull request #279 from nikolas/patch-1
intro tutorial: setup -> set up
2017-10-09 13:21:34 +02:00
Syrus Akbary
31085d8d7b Merge pull request #283 from TheBlusky/patch-1
Update authorization.rst
2017-10-09 13:19:55 +02:00
Dan Lousqui
9c9cef4ea9 Update authorization.rst
Upgrading doc, as suggested in https://github.com/graphql-python/graphene-django/issues/282
2017-10-08 14:42:34 +02:00
Nik Nyby
04fc5a0305 intro tutorial: setup -> set up
"setup" is a noun, while "set up" is a verb. I've updated the usage here.
2017-10-04 23:13:00 -04:00
Grant McConnaughey
bf7ad7eeda Test invalid forms 2017-10-02 13:15:29 -05:00
Grant McConnaughey
463ce68b16 Change mutations to new 2.0 format 2017-10-02 13:03:20 -05:00
Grant McConnaughey
666ddb2ff3 Merge form converter modules 2017-10-02 09:42:57 -05:00
Grant McConnaughey
f5083cb190 Change form valid method names 2017-10-02 09:32:36 -05:00
Grant McConnaughey
507246468b Document form mutations 2017-10-02 09:32:36 -05:00
Grant McConnaughey
4f904f4700 Test mutation 2017-10-02 09:31:58 -05:00
Grant McConnaughey
80a06a0354 Fix flake8 issue 2017-10-02 09:31:58 -05:00
Grant McConnaughey
26a4d315c5 Use options correctly 2017-10-02 09:31:58 -05:00
Grant McConnaughey
f034946cda Add Django form-based mutations 2017-10-02 09:31:58 -05:00
Ivan Belokobylskiy
459d7df42b Access to batch endpoint without parameters fixed
ValueError: max() arg is an empty sequence exception fixed
2017-09-27 18:46:32 +03:00
Miguel
73905547c8 Fix tutorial-plain.rst typo in " Getting single objects" code example 2017-09-09 15:21:34 -04:00
Syrus Akbary
f35e445963 Merge pull request #263 from jeremytiki/tutorial-update-graphene-2.0.dev
Issue #262 fix
2017-09-07 01:24:17 -07:00
Jeremy Spencer
84d063261e Updated tutorial-plain to be in line with breaking changes in graphen-python>=2.0.dev: https://github.com/graphql-python/graphene/blob/master/UPGRADE-v2.0.md\#simpler-resolvers 2017-09-04 08:04:10 -04:00
Syrus Akbary
0e28ccc30a Updated versions in readme 2017-09-01 01:25:41 -07:00
Syrus Akbary
55f9d72ecc Updated dev version 2017-09-01 01:19:22 -07:00
Syrus Akbary
f93251bcbb Removed pypy from travis 2017-09-01 01:12:32 -07:00
Syrus Akbary
2a73e5e479 Fixed flake 2017-09-01 00:52:57 -07:00
Syrus Akbary
728bcacb0e Merge pull request #261 from q3aiml/fix-serializermutation-regression
fix various SerializerMutation regressions
2017-09-01 00:47:34 -07:00
Syrus Akbary
992fbf0c44 Merge pull request #245 from edmorley/fix-deprecation-warnings
Remove usages of deprecated field.rel
2017-09-01 00:46:21 -07:00
Syrus Akbary
ec5dba35b3 Merge pull request #260 from ovidner/master
Removed duplicate bdist_wheel section
2017-09-01 00:39:52 -07:00
Andy Clayton
c130490b4f ensure SerializerMutation.errors is None on success in 2.x
Upon success the result was correct but also included:

"errors": [
  {
    "message": "User Error: expected iterable, but did not find one
for field <SerializerMutation_Subclass>Payload.errors."
  }
]

This seemed to be due to Payload.errors defaulting to graphene.List
rather than unset or None. Unsure what exactly changed with 2.x to break
this, so I welcome a better fix, but explicitly setting errors to None
also seems easy enough.
2017-08-31 12:37:54 -05:00