Add database options for correct table encoding

This commit is contained in:
Gergely Polonkai 2014-06-14 13:00:32 +00:00
parent 0073c1521c
commit ee02fab3a3
1 changed files with 1 additions and 0 deletions

View File

@ -21,6 +21,7 @@ DATABASES = {
'PASSWORD': 'the8dooM',
'HOST': '', # Empty for localhost through domain sockets or '127.0.0.1' for localhost through TCP.
'PORT': '', # Set to empty string for default.
'OPTIONS': {'init_command': 'SET storage_engine=INNODB,character_set_connection=utf8,collation_connection=utf8_unicode_ci'},
}
}