Commit Graph

577 Commits

Author SHA1 Message Date
changeling
884c4cce0c Correct Babel Relay Plugin docs link per Issue 358.
See graphql-python#358.
2019-05-15 16:27:35 -05:00
Paul Hallett
96908beaf7
Merge pull request #639 from Zorig/master
graphiql version upgrade close #572
2019-05-15 11:09:39 +01:00
zorig
ba64bceab0 graphiql version upgrade 2019-05-15 17:22:29 +08:00
Paul Hallett
e26a9f2a44
Merge pull request #631 from graphql-python/fix-628
Fix importing error for GraphQLTestCase
2019-05-13 18:12:22 +01:00
Paul Hallett
65d15cc3ef
Merge pull request #635 from davidjb/master
Update install docs for Django 2.x
2019-05-13 18:12:07 +01:00
David Beitey
ce9d989bcd Update install docs for Django 2.x
This uses the new URL routing syntax introduced in Django 2.0 (https://docs.djangoproject.com/en/2.2/releases/2.0/#simplified-url-routing-syntax).  The older `url()` syntax will deprecated at some point in future https://docs.djangoproject.com/en/2.2/ref/urls/#url
2019-05-13 17:08:26 +10:00
Mel van Londen
865c9535b9
Bugfix: FormMutation was always causing boolean fields to be required (#613)
Bugfix: FormMutation was always causing boolean fields to be required
2019-05-09 11:47:47 -07:00
Paul Hallett
2bf7e7f66d
Fix importing error for GraphQLTestCase 2019-05-08 22:45:28 +01:00
Paul Hallett
223d0b1d28
Merge pull request #627 from graphql-python/custom-choices
Add documentation for settings
2019-05-07 21:30:45 +01:00
Paul Hallett
bd53940d23
newline 2019-05-07 20:23:26 +01:00
Paul Hallett
df4a07982f
Add documentation for settings 2019-05-07 20:23:10 +01:00
Paul Hallett
c0fbed2110
Merge pull request #624 from graphql-python/docs-improvements
Docs improvements
2019-05-07 19:35:49 +01:00
Paul Hallett
15b5e6ae24
Fix security issues 2019-05-07 19:26:19 +01:00
Paul Hallett
31468f5687
Rebuild documentation 2019-05-07 19:23:01 +01:00
Paul Hallett
6f03597a5e
Create CODE_OF_CONDUCT.md 2019-05-06 13:28:02 +01:00
Paul Hallett
0d178b38fb
Merge pull request #609 from acu/fix-connection-field-required
Fix passing required=True to DjangoConnectionField
2019-05-06 12:01:12 +01:00
Paul Hallett
9a43f65b44
Merge pull request #623 from graphql-python/black
Introduce Black formatting, additional tests
2019-05-05 16:43:30 +01:00
Paul Hallett
e6ad5887ca
Introduce Black formatting, additional tests 2019-05-02 17:46:35 +01:00
Alexandre Kirszenberg
b49d315a39 4 spaces 2019-05-01 15:49:54 +02:00
Eran Kampf
05c89c19fb
Test docs integration webhook 2019-04-30 09:57:17 -07:00
Eran Kampf
d720b47c8d
Test docs build 2019-04-30 09:55:28 -07:00
Mel van Londen
2016011394
Merge pull request #605 from GitRon/bugfix/missing-type-declaration-in-docs
Missing LOC in django model form documentation (fixes #602)
2019-04-27 09:34:58 -07:00
Mel van Londen
fb8a129752
Merge pull request #608 from GitRon/feature/base-test-class
Added test class for django api unittests and documentation
2019-04-27 09:16:23 -07:00
Mel van Londen
095a213b42
Merge pull request #601 from sierreis/manifest-static
Add static files to MANIFEST.in
2019-04-27 09:14:25 -07:00
Mel van Londen
6145197f44
Merge pull request #619 from dsanders11/patch-1
Drop old Django compatibility code
2019-04-27 09:10:51 -07:00
Mel van Londen
651d57ee23
Merge pull request #622 from graphql-python/makefile
Add Makefile and better CONTRIBUTING.md
2019-04-26 08:41:26 -07:00
Paul Hallett
bba8377a82
Move documentation to CONTRIBUTING.md 2019-04-26 14:08:44 +01:00
Paul Hallett
2ae897187c
Add Makefile and better CONTRIBUTING.md 2019-04-26 13:14:28 +01:00
David Sanders
6acd917cf7
Drop old Django compatibility code 2019-04-15 05:53:30 -07:00
Ronny Vedrilla
29b8ea8398 Bugfix: FormMutation was always causing boolean fields to be required 2019-04-05 14:27:53 +02:00
Edi Santoso
090ce6e1f1 Fix invalid url django-filter docs (#589) 2019-03-31 12:13:07 +01: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
Gary Donovan
fcc3de2a90 Allow graphql schema export to use a canonical representation (#439)
When we use the `graphql_schema` management command, the output can vary from run to run depending on arbitrary factors (because there is no guarantee made about the order used to output JSON dictionary keys). This makes it difficult to compare two schema's at different points in time.

We address this by including a new `canonical` flag to the command, which uses standard `json.dump` funcitonality to sort dictionary keys and force pretty-printed output.
2019-03-31 11:30:29 +01:00
Mel van Londen
1ad0347479
Merge pull request #604 from GitRon/bugfix/copy-paste-error-test-function-names
Replaced a copy-paste error causing one test case not to run
2019-03-30 18:28:46 -05:00
Alexandre Kirszenberg
8beadc759f Correctly propagate NonNull to inner connection type 2019-03-30 19:43:11 +01:00
Ronny Vedrilla
3c11a980fe Python 2.7 syntax compat 2019-03-29 12:53:18 +01:00
Ronny Vedrilla
b491878c27 * Added test class for django api unittests and documentation how to use it 2019-03-29 11:51:40 +01:00
Ronny Vedrilla
547a4cb576 Missing LOC in django model form documentation (fixes #602) 2019-03-27 16:30:35 +01:00
Ronny Vedrilla
d5d0c519ce Replaced a copy-paste error causing one test case not to run 2019-03-27 15:21:15 +01:00
sierreis
367c077a49 Add static files to MANIFEST.in
At the moment, static files are not included in the package data
when installing using setuptools. This is necessary for the
GraphiQL view.
2019-03-25 12:45:43 -04:00
Adam Johnson
ea2cd9894f Always use HTTPS for CDN files (#498)
* Always use HTTPS for CDN files

There's no point using insecure, deprecated HTTP even if the current page is on HTTP.

* add integrity and crossorigin attributes
2019-03-19 20:34:10 +00:00
Atul Varma
263c7267cb Fix code errors in form-mutations.rst (#499)
This fixes what appear to be some code errors/typos:

* The `FormMutation` class was renamed to `DjangoFormMutation`, and `ModelFormMutation` to `DjangoModelFormMutation`, in 40610c64a3.
* `form_valid` was renamed to `perform_mutate` in 463ce68b16.

It also clarifies a few things that I found confusing:

* It explicitly mentions that `perform_mutate` is a class method.
* The code samples now import the form classes from their packages, so readers know where to import them from too.
2019-03-19 20:24:24 +00:00
Liam O'Flynn
75bf398523 Ensure code example is fully functional (#477)
Simple change, it took me a while to figure out why the documentation's code was throwing an AssertionError :)
2019-03-19 20:22:04 +00:00
Charles Bradshaw
ae126a6dc3 Add Introspection Schema Link in Documentation (#489)
By the end of the Graphene and Django Tutorial using Relay, one might think they have finished everything needed server side for Relay, but six sections later, in a section that doesn't mention Relay in the title, the final required step for Relay is documented.
2019-03-19 20:20:26 +00:00
Jonathan Kim
6ce59aec1f
Merge pull request #538 from alqinae/cookbook-plain-2.1-compatible
Cookbook plain 2.1.2 compatible
2019-03-16 11:31:41 +00:00
Jonathan Kim
297b807f96
Merge pull request #508 from danpalmer/graphiql-no-querystring
Improve Security of GraphiQL
2019-03-16 11:30:32 +00:00
Mel van Londen
87592392de
Merge pull request #590 from graphql-python/fix-tests
Fix lint error
2019-03-09 22:09:13 -08:00
Jonathan Kim
ce8fa7f9f2 Fix lint error 2019-03-09 22:39:04 +01:00
Mel van Londen
a7c1d0146a
Merge pull request #526 from AlonsoEnrique/patch-1
fix order in params
2019-03-08 23:29:56 -08:00