Re: How to implement function like this?
got it. Runs well. Thanks a lot. * _ *
Re: How to implement function like this?
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?
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 %}