Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I’m pretty sure Django doesn’t actually create a limited char field that way, it merely adds validation. For exactly this reason.


It 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




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: