Skip to content

Commit 2927b53

Browse files
committed
Updated the charset for MariaDB/MySQL.
Recently this was updated to use `utf8mb4` for Django 5.2
1 parent 2f3a8c1 commit 2927b53

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ def _build_databases_setting():
1919
}
2020

2121
if engine.endswith(".mysql"):
22-
entry["TEST"] = {"CHARSET": "utf8"}
22+
entry["TEST"] = {"CHARSET": "utf8mb4"}
2323

2424
if engine.endswith(".oracle"):
2525
entry |= {

0 commit comments

Comments
 (0)