I've found the following in the template ... {% for result in results %} <tr class="{% cycle 'row1' 'row2' %}">{% for item in result %} {{ item }}{% endfor %}</tr> {% endfor %}
I would like to apply an additional template tag to {{item}}, i.e. {{item|default_if_none:"" }} I have discovered that in this template {{ item }} is already wrapped with <td> tags i.e. {{ <td>item</td> }} Anyone know where these tags are applied in the admin site? I haven't been able to find them... TIA --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---