When I use Django's templates, I want to implement like this:
--------------------------------------------------------
{% for order in today_order_list_1 %}
  <b>{{order.get_user}}</b></th>--{{order.choice}}
  {% ifequal mod(forloop.counter0,4) 0 %}
    <br />
  {% endif %}
{% endfor %}
--------------------------------------------------------

page dispaly some error :
--------------------------------------------------------
TemplateSyntaxError at /
Invalid block tag: 'endif'
Request Method: GET
Request URL: http://192.168.0.43/
Exception Type: TemplateSyntaxError
Exception Value: Invalid block tag: 'endif'
Exception Location:
c:\python24\lib\site-packages\django-0.90-py2.4.egg\django\core\template\__init__.py
in parse, line 222
---------------------------------------------------------

I have no idea about that. Plz help me...
Thanks in advance.

Reply via email to