title: Django: render a txt file with linebreaks
body: <p>I need to return a txt file as HTTPResponse in Django. The file needs to contain multiple lines generated from a list (ex. ['line one', 'line two']).
  If I use DTL and a template, I cannot insert any line breaks except for html-specific ones. So, my current solution is to write lines to response with csv.writer. It works, but isn't there a more elegant way to get a txt file that looks like this?</p>
  
  <pre><code>line one
  line two
  </code></pre>
  
  <p>Update: I guess, my problem is that I need CR,LF linebreaks.</p>