title: django reusing html block for different for loop in the same template
body: <p>I have three conditions to a given object, <em>1. to start</em>, <em>2. started</em>, and <em>3. finished</em>. 
  I filter the objects in view itself and send three variables to the template - 
  <code>tostart_objects</code>, <code>started_objects</code>, and <code>finished_objects</code>.</p>
  
  <p>Now I loop through the three for loops in the html template as follows:</p>
  
  <pre><code>{% for obj in tostart_objects %}
  // chunk of html template to display all the object 
  {% endfor %}
  
  {% for obj in started_objects %}
  // similar chunk of html template as above
  {% endfor %}
  
  {% for obj in finished_objects %}
  // similar chunk of html template as above
  {% endfor %}
  </code></pre>
  
  <p>Instead of putting the same chunk of code, can I not reuse them at three different places?
  How can this be done? Please let me know, thanks!</p>