feat!: Use postgresql instead of mysqldb (#5482)

BREAKING CHANGE: The underlying database is now postgresql.
This commit is contained in:
Robert Sparks 2023-04-10 12:47:43 -05:00 committed by GitHub
parent a8a5e4321c
commit 84c1fa195b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -75,14 +75,10 @@ MANAGERS = ADMINS
DATABASES = { DATABASES = {
'default': { 'default': {
'NAME': 'ietf_utf8', 'NAME': 'datatracker',
'ENGINE': 'django.db.backends.mysql', 'ENGINE': 'django.db.backends.postgresql_psycopg2',
'USER': 'ietf', 'USER': 'ietf',
#'PASSWORD': 'ietf', #'PASSWORD': 'somepassword',
'OPTIONS': {
'sql_mode': 'STRICT_TRANS_TABLES',
'init_command': 'SET storage_engine=MyISAM; SET names "utf8"'
},
}, },
} }