Commit Graph

17 Commits

Author SHA1 Message Date
Steven DeMartini
520ddeabf6
Fix graphiql explorer styles by including official CSS, and update local example app for testing (#1418)
* Add venv and .venv to gitignore since common venv paths

* Update cookbook-plain app requirements and local-dev notes

This also adds the DEFAULT_AUTO_FIELD to the app's Django settings to
resolve this warning when running `migrate`:

```
ingredients.Category: (models.W042) Auto-created primary key used when not defining a primary key type, by default 'django.db.models.AutoField'.
	HINT: Configure the DEFAULT_AUTO_FIELD setting or the IngredientsConfig.default_auto_field attribute to point to a subclass of AutoField, e.g. 'django.db.models.BigAutoField'.
```

* Fix #1417 graphiql explorer styles by including official CSS

Like in the official graphiql-plugin-explorer example here
6198646919/packages/graphiql-plugin-explorer/examples/index.html (L26-L29)

Resolves https://github.com/graphql-python/graphene-django/issues/1417

* Update GraphiQL version

---------

Co-authored-by: Steven DeMartini <sjdemartini@users.noreply.github.com>
Co-authored-by: Kien Dang <mail@kien.ai>
2023-06-02 11:48:53 +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
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
Paul Hallett
15b5e6ae24
Fix security issues 2019-05-07 19:26:19 +01:00
Khaled Alqenaei
19ef9a094a Making the example working for Django 2.1.2 2018-10-18 11:33:53 -07:00
Syrus Akbary
4f47ffdc8d Updated graphql-core requirements 2018-06-05 12:19:37 -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