MySQL Collations/Charsets and Engines
|Reported by:||Armin Ronacher||Owned by:||nobody|
|Component:||Database layer (models, ORM)||Version:||master|
|Cc:||lidaobing@…, jdchrist@…, cmawebsite@…, shaib||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.
Change History (15)
comment:1 Changed 8 years ago by Simon G <dev@…>
- Needs documentation unset
- Needs tests unset
- Patch needs improvement unset
- Triage Stage changed from Unreviewed to Design decision needed
comment:9 Changed 5 years ago by mtredinnick
- Triage Stage changed from Design decision needed to Accepted