Forums

[Django + MySQL]: Text being truncated

I have a TextField. Saving any text bigger than 3000 charecters is being truncated to around 3000 charecters I have no char limit set anywhere

Thank you

Check if the Django field has any hidden defaults regarding max text length.

I have tried to update the data manually from shell. it's still the same. gets truncated

column query

"some_column_name" longtext NOT NULL

How is encoded your input data? Is it UTF8?