I have an odd problem with Django. I have a set of objects that Im looping through in a template as you would normally. However, I need to group the items in threes. The lay
How's about something around these lines:
{% for p in paintingss %} whatever {% if forloop.counter|divisibleby:"3" %} {% endif %} {% endfor %}
Will this do you good?