Admitting my hubris (and unconstrained TextFields and CharFields) https://craiga.id.au/2026/03/13/textfields-vs-charfields
Admitting my hubris (and unconstrained TextFields and CharFields)

This post went in a different direction than I thought it would. I was going to write that given a CharField is always limited by its maximum length, so why not always use the TextField, which has unlimited length?

Craig Anderson

@craiga Great post! Added your blog to my RSS reader.

I choose between CharField and TextField based on whether I want the TextInput or Textarea widget. (Does feel kinda bad coupling my Model to the front end.)

I also think there's a strong argument for character limits being a check constraint rather than a field attribute.