Re: How to implement function like this?

2005-12-14 Thread zagorot
got it. Runs well. Thanks a lot. * _ *

Re: How to implement function like this?

2005-12-14 Thread zagorot
when I get rid of this below: - {% ifequal mod(forloop.counter0,4) 0 %} {% endif %} - It works fine. What's happened?

How to implement function like this?

2005-12-13 Thread zagorot
When I use Django's templates, I want to implement like this: {% for order in today_order_list_1 %} {{order.get_user}}--{{order.choice}} {% ifequal mod(forloop.counter0,4) 0 %} {% endif %} {% endfor %}