Commit Graph

564 Commits

Author SHA1 Message Date
Syrus Akbary
446013c752
Update authorization.rst 2018-09-05 13:21:39 +02:00
Syrus Akbary
21bad6105c
Merge pull request #472 from wsantos/master
Exclude id from mutation for create operations
2018-09-05 13:20:38 +02:00
Syrus Akbary
a59f41b080
Remove iso8601 dependency, updated graphql-core 2018-09-05 13:18:09 +02:00
Syrus Akbary
e45708b44e
Merge pull request #492 from jayhale/django-filter-2
Make GrapheneFilterSetMixin compatible with django-filter 2
2018-09-05 13:10:52 +02:00
Jay Hale
0314931f12 Removed Django < 1.11 compatibility checks from tests 2018-09-04 13:15:04 -04:00
Jay Hale
f8dff38e29 Remove unnecessary compat utility for Django < 1.11 2018-09-04 13:15:04 -04:00
Jay Hale
d8bdda94df Add back support for django-filter < 2 2018-09-04 13:15:04 -04:00
Jay Hale
9152075ed8 Remove unsupported python & Django test cases 2018-09-04 13:15:04 -04:00
Jay Hale
dc0c2900d1 Making GrapheneFilterSetMixin compatible with django_filter 2 2018-09-04 13:15:04 -04:00
Syrus Akbary
14f156ef5f
Merge pull request #491 from ACollectionOfAtoms/patch-1
Mention filter incompatibility with django 2.0
2018-08-31 11:53:58 +02:00
Dan Palmer
cb87f40165
Document that staticfiles is now a dependency. 2018-08-30 20:59:09 +01:00
Dan Palmer
7e8f6dbd4e
Change quotes to improve some syntax highlighting 2018-08-30 20:58:00 +01:00
Dan Palmer
e50e12bc9f
Move GraphiQL's JS into a separate file for ease of CSP 2018-08-30 20:36:26 +01:00
Dan Palmer
24ebc20bf4
Fix comment 2018-08-30 20:32:38 +01:00
Dan Palmer
d1b734f07d
Allow the user to see the query before prompting
This also allows the introspection query through so that the user can
edit with intellisense before being prompted.
2018-08-30 20:31:39 +01:00
Dan Palmer
9a5b3556d3
Special case reloads as allowed if we can 2018-08-30 19:48:38 +01:00
Dan Palmer
0d8f9db3fb
Pass options from the fragment, not the template context 2018-08-30 19:48:21 +01:00
Dan Palmer
3755850c2e
Use the fragment for the URL 2018-08-30 19:47:48 +01:00
Dan Palmer
219005952a
Don't execute on GET for GraphiQL
We can also now return GraphiQL earlier in the request handling.
2018-08-30 19:29:33 +01: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
Syrus Akbary
9351626ad8
Merge pull request #483 from adamchainz/patch-1
Reword 'abstract' -> 'mixin' in plain tutorial
2018-08-01 11:52:56 -07:00
Adam Johnson
1ba9652f38
Reword 'abstract' -> 'mixin' in plain tutorial
More technically correct
2018-08-01 12:51:46 +01:00
Syrus Akbary
52d14f3b8a
Merge pull request #475 from NoumirPoutipou/master
Pin an explicit version of django-filter (<2) on cookbook example
2018-07-23 19:41:07 -07:00
Noumir.Poutipou
a57098b1cb Pin an explicit version of django-filter (<2) on cookbook example 2018-07-24 04:03:59 +02:00
Waldecir Santos
9cf52ca272 Merge branch 'master' of github.com:wsantos/graphene-django
# Conflicts:
#	graphene_django/forms/tests/test_mutation.py
2018-07-22 23:56:25 +01:00
Waldecir Santos
d4a9c2bb89 Fix tests. 2018-07-22 23:53:58 +01:00
Waldecir Santos
c1bd3c4c15 Exclude id from mutation, useful for create operations. 2018-07-22 23:35:11 +01:00
Waldecir Santos
74b6cf9919 Exclude id from mutation for update oprations 2018-07-22 23:34:01 +01:00
Syrus Akbary
dc561c68c4 Updated version to 2.1.0 2018-07-19 16:52:24 -07:00
Syrus Akbary
54ef52e1c6 Reformatted files using black 2018-07-19 16:52:24 -07:00
Syrus Akbary
96789b291f
Merge pull request #466 from ramonsaraiva/pin-filtering-docs
Pin django-filter in filtering docs
2018-07-19 16:46:32 -07:00
Syrus Akbary
f0705e2c25 Pin a explicit version of django-filter (<2) 2018-07-19 16:43:09 -07:00
Syrus Akbary
192ac963d9 Trying to fix tests 2018-07-19 16:39:24 -07: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
Syrus Akbary
06ca766c38
Merge pull request #454 from ericfrederich/example_diff
Make examples diff better against each other
2018-06-18 19:33:05 -07:00
Syrus Akbary
2f68424717
Merge pull request #456 from ericfrederich/fix_doc_links
Fix moved link
2018-06-18 19:32:19 -07:00
Eric L Frederich
3e3584565f Fix moved link 2018-06-13 17:02:45 -04:00
Eric L Frederich
a97729d362 Make examples diff better against each other 2018-06-13 10:29:50 -04:00
Syrus Akbary
1755948768
Update __init__.py 2018-06-08 11:53:00 -07:00
Syrus Akbary
26cfa88f3a
Fixed non-deterministic setup.py. Related issue #427
This commit is trying to fix https://github.com/graphql-python/graphene-django/issues/427#issuecomment-395539715
2018-06-08 11:51:41 -07:00
Syrus Akbary
763665f2f6 Updated version to 2.1rc0 2018-06-05 15:21:11 -07:00
Syrus Akbary
9812c58a86
Merge pull request #334 from fusion44/master
Docs: Update Cookbook tutorial
2018-06-05 14:49:18 -07: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
27a7c0e299 Added support for FilePathField 2018-06-05 14:39:51 -07:00
Syrus Akbary
4e7b269b76
Merge pull request #450 from graphql-python/form_mutations
Form mutations
2018-06-05 14:36:44 -07:00
Syrus Akbary
a9d819e1f7 Removed repeated function 2018-06-05 14:24:41 -07:00
Syrus Akbary
be22f1639b Updated docs 2018-06-05 14:20:21 -07:00