Ülgen Sarıkavak
cf9f59071e
Update dev dependencies ( #903 )
2020-03-14 10:40:41 +00:00
Jonathan Kim
150008aae5
v2.9.0
2020-03-13 10:13:46 +00:00
Jonathan Kim
c8a56f8857
Allow string references in DjangoListField ( #885 )
...
* Allow passing string references to DjangoListField
* Refactor logic to work with string imports
2020-03-13 10:05:35 +00:00
Jonathan Kim
348fcf37a0
Detect format from output file path ( #868 )
...
* Detect format from output file path
* Fix tests
* Add test for exporting graphql file
* Add some documentation
2020-03-13 10:04:55 +00:00
Jonathan Kim
b8e598d66d
Add options to override how Django Choice fields are converted t… ( #860 )
...
* Add new setting to create unique enum names
* Add specific tests for name generation
* Add schema test
* Rename settings field
* Rename setting
* Add custom function setting
* Add documentation
* Use format instead of f strings
* Update graphene_django/converter.py
Co-Authored-By: Syrus Akbary <me@syrusakbary.com>
* Fix tests
* Update docs
* Import function through import_string function
Co-authored-by: Syrus Akbary <me@syrusakbary.com>
2020-03-13 10:04:25 +00:00
Akhil Gopi
13352216a4
Improv/documentation fixes ( #895 )
...
* Bump up the minimum support Django version.
* Update documentation to mention support for Django 1.11.
Co-authored-by: Akhil <akhil@healthifyme.com>
2020-03-07 17:17:45 +01:00
Sergey Fursov
aeb04d5b5c
use actual root/variables/context args of the execute method ( #878 )
2020-02-23 09:50:40 +00:00
Sergey Protasov
235096362f
Update mutation.py ( #811 )
...
* Update mutation.py
* Add tests
Co-authored-by: Jonathan Kim <jkimbo@gmail.com>
2020-02-23 09:49:39 +00:00
Amim Knabben
a12fc9299a
Exclude read_only fields from input ( #882 )
2020-02-23 09:48:33 +00:00
Gabor Markowski
7a14b77a41
fix a typo in the warning ( #884 )
2020-02-23 09:47:41 +00:00
B4rtware
6a19ab5a4b
use to_representation in favor of get_attribute ( #848 )
...
* use `to_represenation` in favor of `get_attribute`
* fix datetime type does get converted to a string
to_representation will convert the datetime field into a string representation. However the to_representation on the method field will only call its underlying method.
* fix add missing import
* apply black formatter
* add test for serializer method field
* apply black format
* improve backward compatibility
by using date's class contructor instead of fromisostring
* apply black format
* fix black format issue
2020-02-21 17:42:47 +00:00
dependabot[bot]
d1a9444401
Bump django from 3.0 to 3.0.3 in /examples/cookbook ( #876 )
...
Bumps [django](https://github.com/django/django ) from 3.0 to 3.0.3.
- [Release notes](https://github.com/django/django/releases )
- [Commits](https://github.com/django/django/compare/3.0...3.0.3 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-02-21 17:40:34 +00:00
dependabot[bot]
b222caa901
Bump django from 3.0 to 3.0.3 in /examples/cookbook-plain ( #877 )
...
Bumps [django](https://github.com/django/django ) from 3.0 to 3.0.3.
- [Release notes](https://github.com/django/django/releases )
- [Commits](https://github.com/django/django/compare/3.0...3.0.3 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-02-21 17:40:18 +00:00
Jonathan Kim
11dafd4c48
v2.8.2
2020-02-17 11:09:11 +00:00
Jonathan Kim
4e1b82a8d8
Check exclude fields correctly ( #873 )
2020-02-17 11:08:44 +00:00
Manuel Bojato
bbf119cd3b
Add anacounda cloud badge to graphene-django ( #874 )
2020-02-08 20:28:50 +00:00
Leeward Bound
83bc32bc9d
Adding support for disabling enum creation on SerializerMutation ( #851 )
2020-02-07 10:17:56 +00:00
Ben Howes
6b8c5bdefc
Allow for easier template overrides in graphiql ( #863 )
...
* don't replace <body>
* Update graphene_django/templates/graphene/graphiql.html
Co-Authored-By: Jonathan Kim <jkimbo@gmail.com>
* Fix editor styling and initialisation
Co-authored-by: Jonathan Kim <jkimbo@gmail.com>
2020-02-07 10:16:11 +00:00
Jonathan Kim
f3f0608606
v2.8.1
2020-02-07 09:59:05 +00:00
Jonathan Kim
280b38f804
Only warn if a field doesn't exist on the Django model ( #862 )
...
* Only warn if a field doesn't exist on the Django model
Also don't warn if the field name matches a custom field.
* Expand warning messages
2020-02-07 09:55:38 +00:00
Jason Kraus
1310509fa1
feature(stalebot): bug, documentation, help wanted, and enhancement added to exempt labels ( #869 )
2020-02-05 22:16:51 +00:00
Jonathan Kim
5c3199883f
Fix dependencies for examples ( #861 )
2020-01-31 14:20:18 +00:00
Ilya Zhelyabuzhsky
8ec456285b
Fix force_str deprecation warning ( #858 )
2020-01-29 10:06:38 +00:00
luto
62ecbae614
resolve django encoding deprecation warnings ( #853 )
...
https://docs.djangoproject.com/en/3.0/ref/utils/#django.utils.encoding.force_text
2020-01-20 21:05:20 +00:00
luto
08f67797d8
resolve django translation deprecation warnings ( #847 )
...
https://docs.djangoproject.com/en/3.0/releases/3.0/#id3
2020-01-11 14:52:41 +01:00
Jonathan Kim
96c38b4349
Update Django model form tests ( #839 )
...
* Clean up code and raise an exception if the model type is not found
* Update tests
* Fix tests
2020-01-11 14:49:44 +01:00
Jonathan Kim
de87573e0c
Add information on how to deal with CSRF protection ( #838 )
2020-01-11 14:49:17 +01:00
Jonathan Kim
b8a2d5953a
Don't run tests during deploy stage
2019-12-31 14:34:47 +00:00
Jonathan Kim
399ad13a70
v2.8.0
2019-12-31 14:10:18 +00:00
Jonathan Kim
3dd04f68ab
Update travis config to only run deploy once ( #837 )
2019-12-31 13:56:04 +00:00
Vyacheslav Matyukhin
efe210f8ac
Validate Meta.fields and Meta.exclude on DjangoObjectType ( #842 )
...
Resolves #840
2019-12-31 13:55:45 +00:00
Vyacheslav Matyukhin
f661cf8335
Fix typo in exclude type checking test ( #841 )
2019-12-30 14:14:41 +00:00
dan-klasson
7940a7b954
added support for partial updates in serializers ( #731 )
...
* added support for partial updates in serializers
* Add test to verify partial updates
Co-authored-by: Jonathan Kim <jkimbo@gmail.com>
2019-12-27 14:46:48 +00:00
cbergmiller
45df7445f4
Read csrftoken from DOM if no cookie is set ( #826 )
2019-12-27 14:26:42 +00:00
dependabot[bot]
3d01acf169
Bump django from 2.2.8 to 3.0 in /examples/cookbook ( #825 )
...
Bumps [django](https://github.com/django/django ) from 2.2.8 to 3.0.
- [Release notes](https://github.com/django/django/releases )
- [Commits](https://github.com/django/django/compare/2.2.8...3.0 )
Signed-off-by: dependabot[bot] <support@github.com>
2019-12-27 14:25:34 +00:00
Chibuotu Amadi
b66a3f3479
Add headers arg to GraphQLTestCase.query ( #827 )
...
* Add headers arg to GraphQLTestCase.query
* fix headers NoneType case in GraphQLTestCase.query
* Run format
Co-authored-by: Jonathan Kim <jkimbo@gmail.com>
2019-12-26 11:45:18 +00:00
dependabot[bot]
968002f155
Bump django from 2.2.4 to 2.2.8 in /examples/cookbook ( #821 )
...
Bumps [django](https://github.com/django/django ) from 2.2.4 to 2.2.8.
- [Release notes](https://github.com/django/django/releases )
- [Commits](https://github.com/django/django/compare/2.2.4...2.2.8 )
Signed-off-by: dependabot[bot] <support@github.com>
2019-12-07 19:56:57 +00:00
dependabot[bot]
a73d653274
Bump django from 2.2.4 to 2.2.8 in /examples/cookbook-plain ( #822 )
...
Bumps [django](https://github.com/django/django ) from 2.2.4 to 2.2.8.
- [Release notes](https://github.com/django/django/releases )
- [Commits](https://github.com/django/django/compare/2.2.4...2.2.8 )
Signed-off-by: dependabot[bot] <support@github.com>
2019-12-07 19:56:40 +00:00
Jonathan Kim
374d8a8a9e
v2.7.1
2019-11-29 09:13:36 +00:00
Thiago Bellini Ribeiro
7e7f18ee0e
Keep original queryset on DjangoFilterConnectionField ( #816 )
...
* Keep original queryset on DjangoFilterConnectionField
The PR #796 broke DjangoFilterConnectionField making it always get the
raw queryset from the model to apply the filters in it.
This makes sure that the DjangoObjectType's .get_queryset is called,
keeping any filtering it might have made.
* Add regression test
2019-11-29 09:13:16 +00:00
Jonathan Kim
e82a2d75c6
v2.7.0
2019-11-28 19:23:31 +00:00
Jason Kraus
a818ec9017
replace merge_queryset with resolve_queryset pattern ( #796 )
...
* replace merge_queryset with resolve_queryset pattern
* skip double limit test
* Update graphene_django/fields.py
Co-Authored-By: Jonathan Kim <jkimbo@gmail.com>
* yank skipped test
* fix bad variable ref
* add test for annotations
* add test for using queryset with django filters
* document ththat one should use defer instead of values with queysets and DjangoObjectTypes
2019-11-28 10:49:37 +00:00
Jason Kraus
3ce44908c9
django-filter: resolve field along with lookup expression to pro… ( #805 )
...
* django-filter: resolve field along with lookup expression to properly resolve field
* bring back django-filter with method test
* remove dangling comment
* refactor based on better knowledge of django-filters
2019-11-28 10:48:03 +00:00
Athul Cyriac Ajay
e51e60209a
Updated Tutorial with Highlights ( #801 )
2019-10-31 19:31:31 -04:00
Brett Jackson
def6b15e5b
Update schema introspection docs to show SCHEMA_INDENT option ( #802 )
...
* Update schema introspection docs to show indent settings
* fix whitespace
2019-10-19 20:33:33 +01:00
Misha K
b085b5922a
add Django 3.0 to the test matrix ( #793 )
...
* add Django 3.0 to the test matrix
* fix six imports
2019-10-18 11:38:59 +01:00
Jonathan Kim
e17582e1a1
Update stale.yml
2019-10-18 10:12:03 +01:00
Jens Diemer
8d95596ffb
Note that release information are on github release page ( #790 )
2019-10-01 14:59:52 +01:00
Jonathan Kim
5068ea05c3
v2.6.0
2019-09-22 21:17:44 +01:00
Jonathan Kim
e4cf59ecec
Handle isnull filters differently ( #753 )
...
* Handle isnull filters differently
* Change to rsplit
2019-09-22 21:14:59 +01:00