settings: mute warning about auto fields

See https://docs.djangoproject.com/en/dev/releases/3.2/#customizing-type-of-auto-created-primary-keys
This commit is contained in:
Benjamin Dauvergne 2022-11-23 14:40:04 +01:00
parent 823240daf0
commit 5a3f82bd51
1 changed files with 2 additions and 0 deletions

View File

@ -46,6 +46,8 @@ MEDIA_URL = '/media/'
ALLOWED_HOSTS = []
INTERNAL_IPS = ('127.0.0.1',)
DEFAULT_AUTO_FIELD = 'django.db.models.AutoField'
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.postgresql_psycopg2',