Set DEFAULT_AUTO_FIELD to get rid of startup warnings

This commit is contained in:
Kumi 2021-11-12 13:20:32 +00:00
parent 4303e78933
commit cb23f348f9

View file

@ -55,6 +55,7 @@ TEMPLATES = [
WSGI_APPLICATION = 'expephalon.wsgi.application' WSGI_APPLICATION = 'expephalon.wsgi.application'
DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField'
# Database # Database
# https://docs.djangoproject.com/en/3.0/ref/settings/#databases # https://docs.djangoproject.com/en/3.0/ref/settings/#databases