Add utf8mb4 unicode option to mysql config in local.py

This commit is contained in:
Valiantiam
2023-06-03 07:04:52 +00:00
committed by Ariel Rin
parent 6b932b1188
commit eba5b80cde
2 changed files with 4 additions and 0 deletions

View File

@@ -17,6 +17,9 @@ DATABASES["default"] = {
"PASSWORD": os.environ.get("AA_DB_PASSWORD"),
"HOST": os.environ.get("AA_DB_HOST"),
"PORT": os.environ.get("AA_DB_PORT", "3306"),
"OPTIONS": {
"charset": os.environ.get("AA_DB_CHARSET", "utf8mb4")
}
}
# Register an application at https://developers.eveonline.com for Authentication