There is a problem with default django for loop tag {% for  %} {%
endfor%} .  Django template doesn't seem to like nested block tag
inside for loop tag.

{% for a_object in object_list %}
{% load custom_format %}
{% custom_format_string1 a_object.3 %}
<td>{{split_string_data1}}</td>
{% end_custom_format_string1 %)

{% custom_format_string2 a_object.4 %}
<td>{{split_string_data2}}</td>
{% end_custom_format_string2 %)
{% endfor %}

Does it mean I have to overwrite the way django template for loop tag
works?

Django Error:
Exception Type:         TemplateSyntaxError
Exception Value:        Invalid block tag: 'endfor'


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to