Fix graphiql explorer styles by including official CSS, and update local example app for testing by sjdemartini · Pull Request #1418 · graphql-python/graphene-django

added 3 commits

June 1, 2023 10:05
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'.
```

sjdemartini

kiendang

@kiendang

firaskafri

@firaskafri firaskafri deleted the fix-graphiql-explorer-scroll branch

June 2, 2023 08:48

superlevure pushed a commit to loft-orbital/graphene-django that referenced this pull request

Jul 19, 2023
…cal example app for testing (graphql-python#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 graphql-python#1417 graphiql explorer styles by including official CSS

Like in the official graphiql-plugin-explorer example here
https://github.com/graphql/graphiql/blob/619864691941c46cc0b0848e8713028e20212c36/packages/graphiql-plugin-explorer/examples/index.html#L26-L29

Resolves graphql-python#1417

* Update GraphiQL version

---------

Co-authored-by: Steven DeMartini <sjdemartini@users.noreply.github.com>
Co-authored-by: Kien Dang <mail@kien.ai>

mnasiri added a commit to mnasiri/graphene-django that referenced this pull request

Sep 13, 2023

kiendang pushed a commit that referenced this pull request

Sep 13, 2023
…sri param to render_graphiql function of the GraphQlView (#1418) (#1460)