Re: How can I know when the third multiple is reached in an arbitrarily long list

2012-02-13 Thread Jason
Thank you so much Shawn - you saved the day there! -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/Bsqh5-j2Q34J. To post to this group, send email to django

Re: How can I know when the third multiple is reached in an arbitrarily long list

2012-02-13 Thread Shawn Milochik
You can use the divisibleby template tag in combination with a forloop.counter (both explained on this page): https://docs.djangoproject.com/en/1.3/ref/templates/builtins/#divisibleby -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to