Test to pass SET NAMES to init_command

This commit is contained in:
Griatch 2019-03-24 15:31:43 +01:00
parent ee1e7c6a7d
commit 362f5cf5c1
2 changed files with 2 additions and 2 deletions

View file

@ -54,7 +54,8 @@ DATABASES = {
'NAME': 'default',
'OPTIONS': {
'charset': 'utf8mb4',
'init_command': 'set collation_connection=utf8mb4_unicode_ci'
# 'init_command': 'set collation_connection=utf8mb4_unicode_ci'
'init_command': "SET NAMES 'utf8mb4'"
}
}
}