Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
14 lines (10 sloc) 0.488 kB
from django.db.backends.base.creation import BaseDatabaseCreation
class DatabaseCreation(BaseDatabaseCreation):
def sql_table_creation_suffix(self):
suffix = []
test_settings = self.connection.settings_dict['TEST']
if test_settings['CHARSET']:
suffix.append('CHARACTER SET %s' % test_settings['CHARSET'])
if test_settings['COLLATION']:
suffix.append('COLLATE %s' % test_settings['COLLATION'])
return ' '.join(suffix)
Jump to Line
Something went wrong with that request. Please try again.