[Django]-Django handle newlines in textarea

9👍

They’re almost certainly not being converted to new-lines, the problem is likely to be the way you’re displaying them.

Try displaying them in your template using the linebreaks filter, like this:

{{ mypost.body|linebreaks }}

Leave a comment