| 13 | | FWIW you might also be interested in #14094 and #34887 which respectively added support for unparametrized `varchar` (unlimited length) on Postgres and SQLite and the more recent #24920 which added the same for `DecimalField` (backed by `NUMERIC` which is affected by the same root problem as the one discussed here for `CharField`) on all backends but MySQL. I bringing the `DecimalField` example because on MySQL `DECIMAL` without parameters [https://dbfiddle.uk/aI0yqMQA appears to be] an alias for `DECIMAL(10, 0)` so we likely will have to special case some cases here and there to have `parametrized=False` mean ''the loosest type''. |
| | 13 | FWIW you might also be interested in #14094 and #34887 which respectively added support for unparametrized `varchar` (unlimited length) on Postgres and SQLite and the more recent #24920 which added the same for `DecimalField` (backed by `NUMERIC` which is affected by the same root problem as the one discussed here for `CharField`) on all backends but MySQL. |
| | 14 | |
| | 15 | I'm bringing the `DecimalField` example because on MySQL `DECIMAL` without parameters [https://dbfiddle.uk/aI0yqMQA appears to be] an alias for `DECIMAL(10, 0)` so we likely will have to special case some cases here and there to have `parametrized=False` mean ''the loosest type this backend supports'' on all backends. |