4 ms·
I noticed that the models use CharField with a max_length of 10K. Why not use TextField?
by tecoholic 6y ago
I noticed that the models use CharField with a max_length of 10K. Why not use TextField?
- jamestimmins 6y agoDepending on the underlying DB, these might be handled the same way at the DB level. For example, Postgres uses the same field type for both CharField and TextField.
- pplonski86 6y agoIn this tutorial I've used SQLite. I use PostgreSQL for production services. I don't remember now why I used such type.