I have a textfield with textfield in Django, and users enter texts line by line. When I look at entries in the admin panel, I saw exactly how the user wrote it, but when I display it on my website, in Django templates, it simply joins the sentences, and I could no longer display the text line by line.
To illustrate, the user enters text as
-bla
-bla1
-bla2
However, on my page it looks like
-bla1-bla2-blÀ3
This is my code in the template:
<div> <p> {{ rev.myTextField }} </p> </div>
source share