Mostly is see CSS / HTML in bootstrap we came across the following template.
    <div class="row">
      <div class="col-sm-6">
        # Add image/ or data you want
      </div>
      <div class="col-sm-6">
        # Add image/ or data you want
      </div>
    </div>
    # Second row
    <div class="row">
      <div class="col-sm-6">
        # Add image/ or data you want
      </div>
      <div class="col-sm-6">
        # Add image/ or data you want
      </div>
    </div>
How we can achieve this behavior in the Django templates? I mean when we are iterating over a list of values how we can keep track we need to start a new .row?
Dirty Solution
Check the loop iteration count and do integer manipulation to check if we new .row element should be started. 
Thoughts?
 
     
     
    