summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--askbot/setup_templates/settings.py.mustache2
1 files changed, 2 insertions, 0 deletions
diff --git a/askbot/setup_templates/settings.py.mustache b/askbot/setup_templates/settings.py.mustache
index c14ebaee..f30297d7 100644
--- a/askbot/setup_templates/settings.py.mustache
+++ b/askbot/setup_templates/settings.py.mustache
@@ -27,6 +27,8 @@ DATABASES = {
'PASSWORD': '{{database_password}}', # Not used with sqlite3.
'HOST': '', # Set to empty string for localhost. Not used with sqlite3.
'PORT': '', # Set to empty string for default. Not used with sqlite3.
+ 'TEST_CHARSET': 'utf8', # Setting the character set and collation to utf-8
+ 'TEST_COLLATION': 'utf8_general_ci', # is necessary for MySQL tests to work properly.
}
}