How to read back and print text with newlines from a Python (Django) string with HTML?
- by user1801486
If someone types in a phrase, such as:
I see you driving
round town with the girl I love,
and I’m like: haiku.
(no blank lines between each line, but the text is written on three separate lines) into a text box on a web page, and then presses a button which is then stored in a database via Django, and that string is read back and printed on a…