Commit Graph

28 Commits

Author SHA1 Message Date
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]
1e4b03b975
Bump django from 3.1.8 to 3.1.14 in /examples/cookbook-plain (#1282)
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:49:16 +03:00
dependabot[bot]
26a851a523
Bump django from 3.1.6 to 3.1.8 in /examples/cookbook-plain (#1157)
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:41 -07:00
dependabot[bot]
573d38e13e
Bump django from 3.0.7 to 3.1.6 in /examples/cookbook-plain (#1149)
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:38 -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]
5ff40d2d14
Bump django from 3.0.3 to 3.0.7 in /examples/cookbook-plain (#978)
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:01 +01: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
5c3199883f
Fix dependencies for examples (#861) 2020-01-31 14:20:18 +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
dependabot[bot]
a04fff9d70 Bump django from 2.1.11 to 2.2.4 in /examples/cookbook-plain (#736)
Bumps [django](https://github.com/django/django) from 2.1.11 to 2.2.4.
- [Release notes](https://github.com/django/django/releases)
- [Commits](https://github.com/django/django/compare/2.1.11...2.2.4)

Signed-off-by: dependabot[bot] <support@github.com>
2019-08-10 18:50:39 +01:00
dependabot[bot]
930adb50ce Bump django from 2.1.10 to 2.1.11 in /examples/cookbook-plain (#733)
Bumps [django](https://github.com/django/django) from 2.1.10 to 2.1.11.
- [Release notes](https://github.com/django/django/releases)
- [Commits](https://github.com/django/django/compare/2.1.10...2.1.11)

Signed-off-by: dependabot[bot] <support@github.com>
2019-08-07 08:09:56 +01:00
dependabot[bot]
470fb60dc5 Bump django from 2.1.9 to 2.1.10 in /examples/cookbook-plain (#695)
Bumps [django](https://github.com/django/django) from 2.1.9 to 2.1.10.
- [Release notes](https://github.com/django/django/releases)
- [Commits](https://github.com/django/django/compare/2.1.9...2.1.10)

Signed-off-by: dependabot[bot] <support@github.com>
2019-07-04 10:26:27 +01:00
dependabot[bot]
894b1053a2 Bump django from 2.1.6 to 2.1.9 in /examples/cookbook-plain (#669)
Bumps [django](https://github.com/django/django) from 2.1.6 to 2.1.9.
- [Release notes](https://github.com/django/django/releases)
- [Commits](https://github.com/django/django/compare/2.1.6...2.1.9)

Signed-off-by: dependabot[bot] <support@github.com>
2019-06-17 18:48:15 +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
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
Khaled Alqenaei
905b4249f3 Updated ingredients/schema.py and recipes/schema.py to be more readable. 2018-10-18 12:27:23 -07:00
Khaled Alqenaei
4359e1f312 Making the example working for Django 2.1.2 2018-10-18 11:36:35 -07:00
Khaled Alqenaei
19ef9a094a Making the example working for Django 2.1.2 2018-10-18 11:33:53 -07: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
Radoslav Georgiev
531a5348e6 Add examples/cookbook-plain to follow the plain tutorial 2017-02-14 20:23:45 +02:00