* 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>
* Add integrity checks for GraphiQL CDN resources
Also fixes an erroneous assignment preventing a setting from getting to
the UI.
* Pass SRIs and new versions to the template
* Update hashes
* Use SRI-stable artifacts for GraphiQL resources
* 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>
* Always use HTTPS for CDN files
There's no point using insecure, deprecated HTTP even if the current page is on HTTP.
* add integrity and crossorigin attributes