Kien Dang
9a773b9d7b
Use ruff in pre-commit ( #1441 )
...
* Use ruff in pre-commit
* Add pyupgrade
* Add isort
* Add bugbear
* Fix B015 Pointless comparison
* Fix B026
* B018 false positive
* Remove flake8 and isort config from setup.cfg
* Remove black and flake8 from dev dependencies
* Update black
* Show list of fixes applied with autofix on
* Fix typo
* Add C4 flake8-comprehensions
* Add ruff to dev dependencies
* Fix up
2023-08-06 01:47:00 +03:00
Firas K
af8888f58e
Upgrade github actions versions, default python and dev dependencies ( #1407 )
...
* Use Python 3.10 for deployments on PyPi
* Update gh-action-pypi-publish version
* Update python version
* Update checkout and setup-python versions
* Upgrade dev dependencies
* fromat examples and few files to follow black new version
* Upgrade pytest version
---------
Co-authored-by: Firas Kafri <firaskafri@Firass-MacBook-Pro-2.local>
2023-05-03 13:25:16 +03:00
Omar Mirza
a000d58514
Clarify cookbook example READMEs
...
Currently the relay cookbook's readme has a link to the plain tutorial
page. The plain cookbook readme also instructs the user to change
directory into the directory for the relay example. This change fixes
both issues.
Also changed the title for the relay example to specify that it uses
relay.
2022-11-15 09:56:28 +03:00
Nikolai Røed Kristiansen
4517e32224
👷 Add pre-commit ( #1336 )
...
* 🔧 Add pre-commit config
Similar to graphene and graphene-sqlalchemy
* ⬆ Bump black
* 👷 Lint on CI
* ⬆ Bump flake8-black
* 🔧 Keep excluding migrations
* ⬆ Bump flake8
* 🔧 Remove black and flake8 from tox config
* ⬆ Update pre-commit versions
* Upgrade syntax to python 3.7+
* Format with pre-commit
dedent docs/schema.py to allow formatting
* Fix tests on python 3.7
2022-10-19 17:10:30 +03:00
dependabot[bot]
32667b5407
Bump django from 3.1.8 to 3.1.14 in /examples/cookbook ( #1283 )
...
Bumps [django](https://github.com/django/django ) from 3.1.8 to 3.1.14.
- [Release notes](https://github.com/django/django/releases )
- [Commits](https://github.com/django/django/compare/3.1.8...3.1.14 )
---
updated-dependencies:
- dependency-name: django
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-10 12:58:03 +03:00
dependabot[bot]
762eaabd04
Bump django from 3.1.6 to 3.1.8 in /examples/cookbook ( #1156 )
...
Bumps [django](https://github.com/django/django ) from 3.1.6 to 3.1.8.
- [Release notes](https://github.com/django/django/releases )
- [Commits](https://github.com/django/django/compare/3.1.6...3.1.8 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-10 19:28:12 -07:00
dependabot[bot]
594ca6e25e
Bump django from 3.0.7 to 3.1.6 in /examples/cookbook ( #1150 )
...
Bumps [django](https://github.com/django/django ) from 3.0.7 to 3.1.6.
- [Release notes](https://github.com/django/django/releases )
- [Commits](https://github.com/django/django/compare/3.0.7...3.1.6 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-20 22:38:50 -07:00
Jason Kraus
c049ab7470
WIP: Merge master into v3 ( #1086 )
...
* merge master into v3
* fix order_by snake casing by checking if value is None, switch executor to execution_context_class since schema.execute no longer supports executor
* fix linting by removing duplicate defintion and test of convert_form_field_to_string_list
2020-12-30 15:37:57 -08:00
Jonathan Kim
965ebdee13
Merge branch 'master' into v3
2020-06-27 11:14:09 +01:00
Radosław Kowalski
1f752b6cad
Warn if fields
or exclude
are not defined on DjangoObjectType
( #981 )
2020-06-11 11:09:52 +01:00
dependabot[bot]
40e9c66db3
Bump django from 3.0.3 to 3.0.7 in /examples/cookbook ( #979 )
...
Bumps [django](https://github.com/django/django ) from 3.0.3 to 3.0.7.
- [Release notes](https://github.com/django/django/releases )
- [Commits](https://github.com/django/django/compare/3.0.3...3.0.7 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-06-06 12:48:19 +01:00
Roy Segall
63418666d9
Adding Django filter as an installed app ( #899 )
2020-04-06 09:15:35 +01: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
Jonathan Kim
5c3199883f
Fix dependencies for examples ( #861 )
2020-01-31 14:20:18 +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
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]
c432d5875b
Bump django from 2.2.3 to 2.2.4 in /examples/cookbook ( #734 )
...
Bumps [django](https://github.com/django/django ) from 2.2.3 to 2.2.4.
- [Release notes](https://github.com/django/django/releases )
- [Commits](https://github.com/django/django/compare/2.2.3...2.2.4 )
Signed-off-by: dependabot[bot] <support@github.com>
2019-08-07 08:09:42 +01:00
dependabot[bot]
3b541e3d05
Bump django from 2.2.2 to 2.2.3 in /examples/cookbook ( #694 )
...
Bumps [django](https://github.com/django/django ) from 2.2.2 to 2.2.3.
- [Release notes](https://github.com/django/django/releases )
- [Commits](https://github.com/django/django/compare/2.2.2...2.2.3 )
Signed-off-by: dependabot[bot] <support@github.com>
2019-07-04 10:26:54 +01:00
Semyon Pupkov
91c1278d1a
Make cookbook example working on django 2 ( #680 )
2019-06-19 11:59:19 +01:00
dependabot[bot]
6169346776
Bump django from 1.11.20 to 1.11.21 in /examples/cookbook ( #670 )
...
Bumps [django](https://github.com/django/django ) from 1.11.20 to 1.11.21.
- [Release notes](https://github.com/django/django/releases )
- [Commits](https://github.com/django/django/compare/1.11.20...1.11.21 )
Signed-off-by: dependabot[bot] <support@github.com>
2019-06-17 17:08:51 +01:00
Jonathan Kim
775d2e3523
Update travis and tox ( #667 )
...
* Update travis and tox
* Use xenial distribution
* Don't install coveralls twice
* Add black and flake8 tox commands
* Remove Python 3.5 test for Django master
* Fix indent
* Ignore migrations
* Remove black for now
* Run black formatting (#668 )
* Run black format
* Update makefile
* Add black to travis build
2019-06-10 20:54:30 -07:00
Abraham Toriz Cruz
f617b2a9c2
django 1.11.19 is not available, probably for security reasons ( #652 )
2019-06-09 16:33:57 -07:00
Dulmandakh
49aedf171a
bump graphiql to 0.13.0, and rename __debug to _debug due to __ limitations
2019-05-20 17:48:28 +08:00
changeling
2edf7f4ec0
Correct examples/cookbook settings.py.
...
See https://github.com/graphql-python/graphene-django/issues/455 .
2019-05-15 17:02:26 -05: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
Jay Hale
dc0c2900d1
Making GrapheneFilterSetMixin compatible with django_filter 2
2018-09-04 13:15:04 -04:00
Noumir.Poutipou
a57098b1cb
Pin an explicit version of django-filter (<2) on cookbook example
2018-07-24 04:03:59 +02:00
Eric L Frederich
a97729d362
Make examples diff better against each other
2018-06-13 10:29:50 -04:00
Syrus Akbary
205c177912
Removed abstract type from examples.
2018-06-05 12:53:47 -07:00
Syrus Akbary
4f47ffdc8d
Updated graphql-core requirements
2018-06-05 12:19:37 -07:00
yothinix
76a1d43e66
Update example query document link
2017-12-30 18:34:46 +07:00
Ed Morley
81ef78ad58
Remove django_graphiql from cookbook requirements.txt.
...
The package is not required since support for graphiql is now built-in.
Fixes #135 .
2017-03-22 01:59:52 +00:00
thatneat
755bd4e187
spelling
2017-02-23 09:08:05 -08:00
Patrick Sanders
b16cb69000
Fix broken link in cookbook schema
2016-12-03 11:08:25 -05:00
Syrus Akbary
22b33214a7
Fixed Cookbook. Fixed #68
2016-12-01 21:49:58 -08:00
drzix
810de7b26a
Remove an unneeded backup file
...
Signed-off-by: drzix <korea.drzix@gmail.com>
2016-11-06 02:08:25 +09:00
Syrus Akbary
423d7abdf6
Merge pull request #43 from chriscauley/cookbook
...
fixes #8 , base import of field no longer works for query property. Us…
2016-11-05 08:46:13 -07:00
drzix
f9f8eca804
Fix graphql query guide url
...
Signed-off-by: drzix <korea.drzix@gmail.com>
2016-11-05 22:21:34 +09:00
chriscauley
fa178a00ef
errors in code
2016-11-03 21:06:26 -04:00
chriscauley
ad063aa947
adding some dummy data
2016-11-03 21:01:27 -04:00
chriscauley
0ceef46268
a few admin changes to make entering data easier
2016-11-03 20:59:40 -04:00
chriscauley
5ac046a715
adding recipe schema
2016-11-03 18:06:23 -04:00
chriscauley
d3057cd9dc
fixes #8 , base import of field no longer works for query property. Use Node.Field instead
2016-11-03 17:31:28 -04:00
Syrus Akbary
d348ec89c5
Merge pull request #24 from stegben/fix-cookbook-example
...
Fix cookbook example
2016-10-19 18:40:40 -07:00
cph
cf7d8ffcd6
config schema generation in cookbook example
2016-10-17 15:08:43 +08:00
cph
ae9e13d0ad
fix clone command in README
2016-10-17 14:49:27 +08:00
cph
93796daad7
fix requirements
2016-10-17 14:46:42 +08:00
Evstifeev Roman
06e408124b
README.md: fix graphql url
2016-10-06 00:21:01 +04:00
Syrus Akbary
f6684ca92d
Improved cookbook
2016-09-30 09:14:06 -07:00