graphene-django/examples/cookbook-plain/cookbook
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
..
ingredients Upgrade github actions versions, default python and dev dependencies (#1407) 2023-05-03 13:25:16 +03:00
recipes Upgrade github actions versions, default python and dev dependencies (#1407) 2023-05-03 13:25:16 +03:00
__init__.py Add examples/cookbook-plain to follow the plain tutorial 2017-02-14 20:23:45 +02:00
schema.py Update travis and tox (#667) 2019-06-10 20:54:30 -07:00
settings.py Fix graphiql explorer styles by including official CSS, and update local example app for testing (#1418) 2023-06-02 11:48:53 +03:00
urls.py Update travis and tox (#667) 2019-06-10 20:54:30 -07:00
wsgi.py Add examples/cookbook-plain to follow the plain tutorial 2017-02-14 20:23:45 +02:00