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:
parent
823240daf0
commit
5a3f82bd51
|
@ -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',
|
||||
|
|
Loading…
Reference in New Issue