Following documentation found on http://code.djangoproject.com/wiki/UsingFreeComment, I run into this problem. Below is my template:
{% load comments.comments %} <dl class='latest'> {% for p in latest %} {% get_free_comment_count for blog.post object.id as comment_count %} <dt><a href="/blog/{{p.time_added|date:"Y/M/j"|lower}}/{{p.slug}}/">{{ p.title }}</a></dt> <dd> <span class='body'>{{ p.intro|truncatewords:"100" }}</span> <span class='date'>Posted on {{ p.time_added|date:"M j, Y" }} at {{ p.time_added|date:"P" }} | <a href="{{ object.get_absolute_url }}">{{ comment_count }} Comments</a> </span> </dd> {% endfor %} </dl> What could be the reason for failed lookup on key[id]? --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users -~----------~----~----~----~------~----~------~--~---