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
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
Paul Hallett
2bf7e7f66d
Fix importing error for GraphQLTestCase
2019-05-08 22:45:28 +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
31468f5687
Rebuild documentation
2019-05-07 19:23:01 +01: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
Edi Santoso
090ce6e1f1
Fix invalid url django-filter docs ( #589 )
2019-03-31 12:13:07 +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
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
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
Alonso
f3144bf996
fix order in params
2018-09-26 13:07:50 -05:00
Syrus Akbary
f6dba3942c
Merge pull request #506 from ccsv/patch-1
...
Update authorization docs to Graphene 2.0
2018-09-05 13:30:40 +02:00
Syrus Akbary
2ccd483ffc
Update authorization.rst
2018-09-05 13:22:54 +02:00
Syrus Akbary
446013c752
Update authorization.rst
2018-09-05 13:21:39 +02:00
Jay Hale
dc0c2900d1
Making GrapheneFilterSetMixin compatible with django_filter 2
2018-09-04 13:15:04 -04:00
C Chan
84d82f82a9
Update authorization docs to Graphene 2.0
...
* Re-write some language in "Limiting Field Access"
* Added code to "Queryset Filtering On Lists" section to handle queries that return nothing
* fix code to Filtering ID-based node access to work based on question [here](https://stackoverflow.com/questions/51057784/django-graphene-with-relay-restricting-queries-access-based-on-id/51958088#51958088 )
* Rewrote Adding Login Requirements to be Django 2.0 compatible
Fixed login requirements
2018-08-29 00:37:27 -07:00
Adam
40da74fc52
Mention filter incompatibility with django 2.0
...
Was in the process of updating our app to Python 3 + Django 2.1 and ran into this (would've been nice if t was mentioned in the docs).
Related: https://github.com/graphql-python/graphene-django/issues/464
2018-08-07 11:04:52 -04:00
Adam Johnson
1ba9652f38
Reword 'abstract' -> 'mixin' in plain tutorial
...
More technically correct
2018-08-01 12:51:46 +01:00
Ramon Saraiva
1c4182fd5d
Pin django-filter in filtering docs until full compatibility with 2.0.0
2018-07-17 02:19:35 -03:00
Eric L Frederich
3e3584565f
Fix moved link
2018-06-13 17:02:45 -04:00
Syrus Akbary
9840a64dc9
Merge branch 'master' into master
2018-06-05 14:48:53 -07:00
Syrus Akbary
701611c246
Moved the admin plug down to the proper section
2018-06-05 14:48:06 -07:00
Syrus Akbary
f0451476ad
Merge pull request #422 from tadeo/master
...
Fix doc: Bad documented SerializerMutation attribute
2018-06-05 14:41:58 -07:00
Syrus Akbary
be22f1639b
Updated docs
2018-06-05 14:20:21 -07:00
Syrus Akbary
a9e5beb9eb
Merge branch 'master' into form_mutations
...
# Conflicts:
# graphene_django/forms/converter.py
# graphene_django/forms/tests/test_converter.py
2018-06-05 13:23:39 -07:00
Tadeo Carrier
b1245fed16
Fix doc: Bad documented SerializerMutation attribute
2018-04-05 14:46:10 -03:00
Syrus Akbary
a480a39713
Merge pull request #326 from pizzapanther/drf-serializer-update
...
DRF Serializer update
2018-03-29 23:22:14 -07:00
Syrus Akbary
9cdd95c114
Removed deprecated AbstractType from tutorial
2018-03-21 21:35:49 -07:00
Syrus Akbary
8151fe75b8
Merge pull request #406 from gabriel-sevecek/master
...
Fix context-dependent filtering example in docs
2018-03-14 23:28:07 -07:00
Syrus Akbary
e9a40f2ae9
Merge pull request #403 from eyal0803/patch-2
...
Update authorization.rst
2018-03-14 23:27:43 -07:00
Syrus Akbary
134d6c6d32
Updated docs template
2018-03-13 22:38:17 -07:00
Gabriel Sevecek
bc713f22cb
Update filtering.rst
2018-02-27 11:29:34 +01:00
eyal0803
d98d2a6a73
Update authorization.rst
...
Someone probably forgot to change `CategoryNode`, from the previous tutorial, to `PostNode`.
2018-02-23 20:59:19 +02:00
Paul Bailey
91a99ee39c
serializer update support
2018-02-06 13:37:28 -06:00
Martijn Faassen
ea4ddc7f79
Adjustments to make it work with Django 2.0.1
...
I tried the tutorial but ran into these two problems in Django 2.0.1.
2018-01-18 16:46:08 +01:00
Stefan Stammberger
443b5eaafc
Docs: Update Cookbook tutorial
2017-12-02 19:35:17 +01:00
Kees Kluskens
70a6c72751
Docs: fix usage of deprecated AbstractType
...
A tutorial still used `graphene.AbstractType` instead of `object`, which leads to a [deprecation warning](https://github.com/graphql-python/graphene/blob/master/UPGRADE-v2.0.md#abstracttype-deprecated ).
2017-11-18 22:10:39 +01:00
Syrus Akbary
bc59d0ad8e
Merge pull request #232 from basilfx/master
...
Pass context object to FilterSet for request-baed filtering
2017-11-13 02:39:18 -08:00
Syrus Akbary
ec2cea1afa
Merge pull request #311 from tervay/typo-fixes
...
Fix documentation typos
2017-11-12 10:26:16 -08:00
Justin Tervay
bbcd69967c
Fix typos
2017-11-01 13:56:28 -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
77f036157b
Merge pull request #279 from nikolas/patch-1
...
intro tutorial: setup -> set up
2017-10-09 13:21:34 +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