On 19 nov, 11:09, Sithembewena Lloyd Dube <
zebr...@gmail.com> wrote:
> Hi everyone,
>
> I have a template where Django is spitting out blog tags followed by a ','
> when the tag is not the final one in the loop.
>
> {% if not forloop.last %}, {% endif %}
>
> Strangely, I am still seeing tag1, tag2, tag3,
This shouldn't happen, but since such an obvious bug would have been
spotted long ago, I guess you do have an "empty" element (for whatever
definition of "empty" apply here) at the end of your list or queryset.
So better to first check your data...
> --
> Regards,
> Sithembewena Lloyd Dubehttp://
www.lloyddube.com