thanks, indeed you are right. Now to find out how bad I can break things by moving that behavior to the other template.
On Jul 9, 5:34 pm, Karen Tracey <kmtra...@gmail.com> wrote: > On Thu, Jul 9, 2009 at 6:22 PM, Some Guy <djul...@gmail.com> wrote: > > > 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 > > I think here: > > http://code.djangoproject.com/browser/django/tags/releases/1.0.2/djan... > > Karen --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---