title: How to output text from database with line breaks in a django template?
body: <p>I have text saved in a database record that looks like this.</p>
  
  <pre><code>This is the text
  
  This is on a new line with a space in between
  </code></pre>
  
  <p>When I output it on the Django template, it comes out like this</p>
  
  <pre><code>This is the text This is on a new line with a space in between
  </code></pre>
  
  <p>How can I output the text on my django template to reflect the way it appears in the database?</p>