mirror of
https://github.com/graphql-python/graphene-django.git
synced 2025-04-17 07:32:06 +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'. ``` |
||
---|---|---|
.. | ||
cookbook | ||
cookbook-plain | ||
starwars | ||
__init__.py | ||
django_test_settings.py |