I have a three column table (columns 1 & 3 will show an image). I am looping over the object list in the template with a forloop.
Within the loop I want to force the forloop to go to the next item so the item in the 3rd column is the next record. I can't see anything like 'forloop.next' in the django docs.
{% for item in object_list %}<tr>
<td><a href="{{ item.url }}"><img src="{{ MEDIA_URL }}{{ item.image }}" width="300" height="100" /></a></td>
<td> </td>
<td><a href="{{ item.url }}"><img src="{{ MEDIA_URL }}{{ item.image }}" width="300" height="100" /></a></td>
</tr>
{% endfor %}<tr>
What's the best way to accomplish this?