Commit Graph

918 Commits

Author SHA1 Message Date
Patrick Arminio
575e1da0ee Remove tests in django 1.6 and 1.7 2017-06-23 11:58:57 +01:00
Patrick Arminio
99c153ac5d Up required django version to 1.8 2017-06-23 11:57:49 +01:00
David Miguel
b3c761b1c8 Fix graphene 1.3 annotation bug
Issue #173
2017-06-06 19:19:29 +01:00
Jacob Foster
95510987f1 Reorganize for clarity 2017-05-25 11:15:13 -05:00
Jacob Foster
74e4e1aa77 Drop reverse flag, remove duplicates in get_model_fields 2017-05-25 11:01:29 -05:00
Jacob Foster
ca06d74195 Make test sort for stable comparison 2017-05-22 17:36:00 -05:00
Jacob Foster
cfe38ae208 Add tests 2017-05-22 17:20:56 -05:00
Jacob Foster
7a765537e9 Only evaluate reverse M2Ms in get_reverse_fields 2017-05-22 16:43:20 -05:00
arianon@openmailbox.org
bfcac1d48c Use Promise.then instead of Promise.get on DjangoConnectionField 2017-05-19 19:33:00 -04:00
arianon@openmailbox.org
4350582c52 Support Connections created from Promises 2017-05-19 19:12:28 -04:00
Syrus Akbary
afec960e4d Merge pull request #164 from bryankimani/patch-1
Update tutorial-plain.rst
2017-05-03 21:03:57 -07:00
Bryan Kimani
caa6eecc7a Update tutorial-plain.rst
If your run ``$ python ./manage.py loaddata ingredients`` without installing ``ingredients`` app in the project ``settings.py`` you will get the following error ``CommandError: No fixture named 'ingredients' found``. So make sure ``ingredients`` app has been put on the ``settings.py`` INSTALLED_APPS section before running ``$ python ./manage.py loaddata ingredients``.
2017-05-01 21:08:38 +03:00
Syrus Akbary
1e34dfb3e5 Updated version to 1.3 - Require graphene 1.4 2017-04-20 01:15:05 -07:00
Syrus Akbary
46a1ddedd8 Added RELAY_CONNECTION_MAX_LIMIT and RELAY_CONNECTION_ENFORCE_FIRST_OR_LAST settings
Relay connections will be limited to 100 records by default.
2017-04-15 02:15:17 -07:00
Syrus Akbary
3803e9a762 Merge pull request #151 from graphql-python/fix-filter-and-resolver
Fixed FilterConnectionFields with limit in the FilterSet
2017-04-15 01:30:01 -07:00
Syrus Akbary
dbf006976e Removed unnecesary Django filter installation 2017-04-15 01:22:32 -07:00
Syrus Akbary
cc03da0598 Moved tests to filter field tests 2017-04-15 01:17:53 -07:00
Syrus Akbary
b30b40e353 Improved travis tests. Added Django==1.11 tests 2017-04-15 01:11:36 -07:00
Syrus Akbary
5833cb83be Fixed filterset limit issue 2017-04-15 01:00:02 -07:00
Syrus Akbary
055c6e2359 Merge branch 'master' into fix-filter-and-resolver 2017-04-15 00:04:19 -07:00
Syrus Akbary
005bb7fe04 Merge pull request #136 from edmorley/django_graphiql-cleanup
Remove django_graphiql from cookbook requirements.txt.
2017-04-13 19:36:29 -07:00
Syrus Akbary
438dc13848 Merge pull request #143 from khankuan/patch-1
Add hyperlink on documentation in README.md
2017-04-13 19:34:46 -07:00
Kuan
8eb881e085 Fix graphiql refreshing operationName undefined
operationName is serialized into the query string as a string. When getting the query value for operationName, we need to convert string "null" into None.
2017-04-13 10:11:10 -07:00
Alexey Subbotin
33b2b42e6f Rewrite unit test to make it working on all versions of django 2017-04-12 13:04:03 +02:00
Alexey Subbotin
a9f34dab93 request.body might raise RawPostDataException, RequestDataTooBig, UnreadablePostError exceptions which are not related to invalid JSON data 2017-04-12 12:43:21 +02:00
Kuan
6fff012d08 Update README.md 2017-04-11 09:10:01 -07:00
Kuan
739d7997f3 Update README.rst 2017-04-11 09:09:08 -07:00
Kuan
b80426e7f1 Add hyperlink on documentation in README.md 2017-04-11 09:07:28 -07:00
Ed Morley
81ef78ad58 Remove django_graphiql from cookbook requirements.txt.
The package is not required since support for graphiql is now built-in.

Fixes #135.
2017-03-22 01:59:52 +00: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
Syrus Akbary
f6034abe74 Merge pull request #132 from LearntEmail/rename_fields
Add tests for DjangoObjectType only/exclude_fields
2017-03-15 21:35:37 -07:00
Sam Parkinson
46048cd218
Add tests for DjangoObjectType only/exclude_fields 2017-03-11 07:40:04 +11:00
Niall
2117cb2b01 Example for order_by being ignored 2017-03-06 20:19:39 +00:00
Niall
7210e308ec Fix test 2017-03-06 20:00:01 +00:00
Niall
fda876fdc2 Long-winded intersection using sets 2017-03-06 19:41:45 +00:00
Niall
e2284fefb5 Clean up 2017-03-06 18:20:31 +00:00
Niall
69457cffdf Attempt fix. Breaks tests 2017-03-06 18:13:40 +00:00
Niall
67804fdc09 Add broken test 2017-03-05 19:17:00 +00:00
Niall
7085437a12 Fix filtering with a resolver and DjangoFilter filter. 2017-03-05 17:13:09 +00:00
Syrus Akbary
1139507a14 Merge pull request #123 from HorizonXP/fix-batch-response-format
Remove payload key from response and stick to original format.
2017-03-04 18:25:12 -08:00
Xitij Ritesh Patel
f720912415 Update tests to expect new batch response format 2017-03-03 15:04:22 -05:00
Syrus Akbary
335339c7a8 Fixed Django 1.8 issue 2017-03-02 18:38:03 -08:00
Syrus Akbary
28db2c0506 Improved docs for running tests locally 2017-03-02 18:32:25 -08:00
Syrus Akbary
87f0c33983 Merge pull request #118 from gamingexperience/fix/node-filtery-efficiency
Avoids redundant filtering with non-nested nodes.
2017-03-02 18:04:06 -08:00
Syrus Akbary
4cc46736bf Simplified DjangoFilterConnectionField logic 2017-03-02 18:00:05 -08:00
Syrus Akbary
acff3d59db Merge pull request #58 from tangerilli/recursive-nodes
Allow recursive connections with DjangoFilterConnectionField
2017-03-02 17:26:51 -08:00
Xitij Ritesh Patel
9eb339e2e3 Remove payload key from response and stick to original format. 2017-03-02 01:47:28 -05:00
Tony Angerilli
57dbcd34f4
Merge remote-tracking branch 'remote/master' into recursive-nodes 2017-02-28 23:40:46 -08:00
Syrus Akbary
fd91f78366 Merge pull request #119 from thatneat/patch-1
spelling: "recepies" -> "recipes"
2017-02-23 23:41:48 -08:00
thatneat
755bd4e187 spelling 2017-02-23 09:08:05 -08:00