On Mar 23, 5:07 pm, Pep <pepourqu...@gmail.com> wrote:
> Hi everybody,
>
> An error occured when I want to use the comment framework. Django
> debug says me : "Caught an exception while rendering: 'str' object has
> no attribute '_meta'"
>
> I don't understand why because when I use the comment framework on the
> same project with Diario module, it works fine !
>
> My template code :
>     {% load comments %}
>     {% get_comment_list for News as comment_list %}
>
> The model :
>     class News(models.Model):
>
> Thanks for your help

But what is News in your template context? Show us the relevant part
of the views code.
--
DR.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@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.

Reply via email to