feat!: Use postgresql instead of mysqldb (#5482)
BREAKING CHANGE: The underlying database is now postgresql.
This commit is contained in:
parent
a8a5e4321c
commit
84c1fa195b
|
@ -75,14 +75,10 @@ MANAGERS = ADMINS
|
|||
|
||||
DATABASES = {
|
||||
'default': {
|
||||
'NAME': 'ietf_utf8',
|
||||
'ENGINE': 'django.db.backends.mysql',
|
||||
'NAME': 'datatracker',
|
||||
'ENGINE': 'django.db.backends.postgresql_psycopg2',
|
||||
'USER': 'ietf',
|
||||
#'PASSWORD': 'ietf',
|
||||
'OPTIONS': {
|
||||
'sql_mode': 'STRICT_TRANS_TABLES',
|
||||
'init_command': 'SET storage_engine=MyISAM; SET names "utf8"'
|
||||
},
|
||||
#'PASSWORD': 'somepassword',
|
||||
},
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue