Commit Graph

872 Commits

Author SHA1 Message Date
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
Andy Clayton
cc58b91e43 fix SerializerMutation regression for 2.x
72529b7 seems to break SerializerMutation by commenting out support for
input fields. As a result input only ever had a clientMutationId field.
2017-08-31 12:21:50 -05:00
Olle Vidner
30ced72236
Removed duplicate bdist_wheel section 2017-08-31 15:34:22 +02:00
Syrus Akbary
9cac83b168 Merge pull request #243 from jonatasbaldin/jonatas/fix-filtering-documentation
Fix lookup parameter on filtering documentation
2017-08-29 22:33:35 -07:00
Syrus Akbary
a4cc360184 Merge branch 'master' into fix-deprecation-warnings 2017-08-29 22:33:10 -07:00
Syrus Akbary
6de94a72bc Merge pull request #246 from harisibrahimkv/patch-1
Fixes the link to django-filter `usage documentation`.
2017-08-29 22:31:02 -07:00
Syrus Akbary
1bea96b31e Merge pull request #229 from graphql-python/2.0
Road to 2.0
2017-08-27 13:28:08 -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
Haris Ibrahim K. V
bf2b5a940e Changes one more occurence of the django-filter link. 2017-08-15 14:32:59 +05:30
Haris Ibrahim K. V
b9c8bb57be Fixes the link to django-filter usage documentation. 2017-08-15 14:09:36 +05:30
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
Jonatas Baldin
dead04da77 Correct lookup parameter on django-filter is lookup_expr 2017-08-12 23:24:50 -03:00
Syrus Akbary
2929d0866c Merge pull request #236 from edmorley/generate-wheels
Generate a universal wheel in addition to the source distribution
2017-08-07 21:17:18 -07:00
Ed Morley
9fbb183820 Generate a universal wheel in addition to the source distribution
See:
https://packaging.python.org/tutorials/distributing-packages/#universal-wheels
https://docs.travis-ci.com/user/deployment/pypi/#Uploading-different-distributions

Fixes #219.
2017-08-07 22:25:22 +01:00