MySQL Collations/Charsets and Engines
|Reported by:||Armin Ronacher||Owned by:||nobody|
|Component:||Database layer (models, ORM)||Version:||master|
|Cc:||lidaobing@…, jdchrist@…, cmawebsite@…, Shai Berger, me@…||Triage Stage:||Accepted|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
Django should really have a DATABASE_CHARSET / DATABASE_COLLATION setting in the settings.py as well as a setting for the mysql database engine. It's stunning that unittests can enforce a database collation but tables not. Also an argument in the Meta section of models that allows to define the collation, charset and engine would be an important thing to have.
I know that there are workarounds for those limitations but they have all disadvantages.