3 ms·
I’m pretty sure Django doesn’t actually create a limited char field that way, it merely adds validation. For exactly this reason.
by orf 8y ago
I’m pretty sure Django doesn’t actually create a limited char field that way, it merely adds validation. For exactly this reason.
- rrauenza 8y agoIt does pass the limit down. I've just verified my schema that has a varchar(128). One of the reasons given in the bug for it being difficult to fix is down in the depths it assumes it is a varchar() -- with parentheses. Here's the relevant comment: https://code.djangoproject.com/ticket/14094#comment:13 https://code.djangoproject.com/ticket/14094#comment:13