title: Can I suppress newlines after each template tag with Django's template engine?
body: <p>In Rails ERB, you can suppress newlines by adding a trailing hyphen to tags:</p>
  
  <pre><code>&lt;ul&gt;
    &lt;% for @item in @items -%&gt;
      &lt;li&gt;&lt;%= @item %&gt;&lt;/li&gt;
    &lt;% end -%&gt;
  &lt;/ul&gt;
  </code></pre>
  
  <p>becomes:</p>
  
  <pre><code>&lt;ul&gt;
      &lt;li&gt;apple&lt;/li&gt;
      &lt;li&gt;banana&lt;/li&gt;
      &lt;li&gt;cacao&lt;/li&gt;
  &lt;/ul&gt;
  </code></pre>
  
  <p>Is there a way to do this in Django? (Disclosure: I'm generating a csv file with Django)</p>
  
  <p>Edit: Clarified that the newlines I'm hunting down are the ones left behind after the template <em>tags</em>.</p>