graphene-django/graphene_django
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
..
debug Remove promise based middleware 2023-03-01 11:13:00 +03:00
filter Upgrade github actions versions, default python and dev dependencies (#1407) 2023-05-03 13:25:16 +03:00
forms Add DjangoFormInputObjectType to forms/types (#1325) 2023-05-24 15:58:50 +03:00
management Fix schema print with -.graphql 2023-04-10 14:52:10 +03:00
rest_framework Upgrade github actions versions, default python and dev dependencies (#1407) 2023-05-03 13:25:16 +03:00
static/graphene_django Add GraphiQL Explorer plugin (#1397) 2023-05-04 22:06:10 +03:00
templates/graphene Fix graphiql explorer styles by including official CSS, and update local example app for testing (#1418) 2023-06-02 11:48:53 +03:00
tests Correct schema write test (#1416) 2023-05-27 16:53:22 +03:00
utils 👷 Add pre-commit (#1336) 2022-10-19 17:10:30 +03:00
__init__.py Bump version 2023-05-24 16:10:22 +03:00
compat.py 👷 Add pre-commit (#1336) 2022-10-19 17:10:30 +03:00
conftest.py Make tests order independent (#932) 2020-04-20 13:23:20 +01:00
constants.py WIP: Merge master into v3 (#1086) 2020-12-30 15:37:57 -08:00
converter.py Add support for Python 3.11 (#1365) 2023-05-04 15:19:24 +03:00
fields.py 👷 Add pre-commit (#1336) 2022-10-19 17:10:30 +03:00
registry.py 👷 Add pre-commit (#1336) 2022-10-19 17:10:30 +03:00
settings.py 👷 Add pre-commit (#1336) 2022-10-19 17:10:30 +03:00
types.py Add DjangoFormInputObjectType to forms/types (#1325) 2023-05-24 15:58:50 +03:00
views.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