On Feb 16, 2:12 am, mhulse <[email protected]> wrote:
> > You could do it like this. There was a discussion recently about mod
> > operator and what happens when you want to do something every N times
> > but can't find it now for some reason :(
>
> Ah, interesting! Thanks for the code sample, I really appreciate your
> assistance.
>
> I will search around for the mod operator discussion... Sounds like it
> could be a good read for me. :)
>
> Thanks again!
>
> Micky
There's also the built-in "divisibleby" filter, which is a bit like
mod:
{% if value|divisibleby:"6" %}
--
DR.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en.