mirror of
https://github.com/graphql-python/graphene-django.git
synced 2025-11-13 14:25:35 +03:00
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'. ``` |
||
|---|---|---|
| .. | ||
| ingredients | ||
| recipes | ||
| __init__.py | ||
| schema.py | ||
| settings.py | ||
| urls.py | ||
| wsgi.py | ||