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
Andrew Bettke
959e98eeb0
Refactor to use formal to_global_id.
2019-03-28 09:56:10 +13:00
sierreis
d2f8bf730b
Test exception when both filterset_class and filter_fields are set
2019-03-27 14:05:42 -04: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
Andrew Bettke
a461e80ee4
Correctly encode / decode for python3+.
2019-03-27 17:56:06 +13:00
Andrew Bettke
83a2ad34cd
Encode strings before passing to b64encode.
2019-03-27 17:28:56 +13:00
Andrew Bettke
980142dfcf
Fix linting.
2019-03-27 17:24:13 +13:00
Andrew Bettke
36ac5626e9
Adds enhanced support for proxy models.
2019-03-27 17:09:25 +13:00
sierreis
132c4cb9d4
Fixed so that GrapheneFilterSetMixin is used with any provided filterset_class
2019-03-25 23:45:14 -04: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
sierreis
4d905a46ac
Fixed flake8 lint error
2019-03-25 10:03:54 -04:00
sierreis
5c191b9062
Add support for filterset_class meta parameter
...
* Allow for use of either filter_fields or filterset_class
* Add tests to check that the behavior is similar to filter_fields
* Add documentation to show how to make use of the parameter
2019-03-25 00:38:49 -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
alejandronunez
200353d014
Merge pull request #19 from revolico/camel-case-all-fields#17
...
removing django dependency
2019-03-07 08:55:25 -05:00
Alejandro Nunez Capote
b62eb0347c
removing django dependency
2019-03-07 08:54:07 -05:00
alejandronunez
f076cb473e
Merge pull request #18 from revolico/camel-case-all-fields#17
...
Verify ALL_FIELDS after camel case
2019-03-06 16:20:51 -05:00
Olivia Rodriguez Valdes
97b2cd08f2
Verify ALL_FIELDS after camel case
2019-03-06 16:07:37 -05:00
alejandronunez
dd3cc6889d
Merge pull request #16 from revolico/form-error-field-in-camel-case#15
...
Form error field in camel case#15
2019-03-06 10:00:12 -05:00
Olivia Rodriguez Valdes
365dfe0f14
Update tests
2019-03-04 15:34:09 -05:00
Olivia Rodriguez Valdes
e7705fe21b
Add camel case to error field
2019-03-04 15:33:59 -05:00
alejandronunez
65c40f643d
Merge pull request #14 from revolico/order-choices-verification#13
...
Change verification order
2019-03-04 12:00:46 -05:00
Olivia Rodriguez Valdes
0ee2327d60
Change verification order
2019-03-04 11:31:31 -05:00
alejandronunez
1151897f4a
Merge pull request #8 from revolico/convert_form_choice#7
...
Convert form choice#7
2019-03-04 10:01:44 -05:00
Olivia Rodriguez Valdes
b93bbb9546
Add form param to comments
2019-03-04 09:03:52 -05:00
Olivia Rodriguez Valdes
4996a72725
Set model dependency in conversion
2019-03-04 08:52:59 -05:00
Olivia Rodriguez Valdes
41222c1565
Fix lint errors
2019-03-04 08:51:21 -05:00
Olivia Rodriguez Valdes
f3660b3f30
Update tests
2019-03-03 15:34:01 -05:00
Olivia Rodriguez Valdes
6ea5e2bbaf
Update converter
2019-03-03 15:33:11 -05:00
Olivia Rodriguez Valdes
0541b713e9
Merge remote-tracking branch 'origin/master' into convert-form-choice
2019-03-01 16:45:04 -05:00
Olivia Rodriguez Valdes
8e2f626f35
Set conversion to enum
2019-03-01 16:38:47 -05:00
Olivia Rodriguez Valdes
e99d22510f
Merge remote-tracking branch 'origin/master' into convert_form_choice#7
2019-03-01 15:54:55 -05:00
alejandronunez
49bb86f58d
Merge pull request #6 from revolico/permission-to-type#5
...
Permission to type#5
2019-03-01 14:51:22 -05:00
Olivia Rodriguez Valdes
ece1677cb2
Merge branch 'permission-to-type#5' of github.com:revolico/graphene-django into permission-to-type#5
2019-03-01 14:43:34 -05:00
Olivia Rodriguez Valdes
1e1e849f4a
Rename to DjangoField
2019-03-01 14:34:54 -05:00