Re: Error using comment framework

2010-03-23 Thread Daniel Roseman
On Mar 23, 5:32 pm, Pep wrote: > Well, following the doc, this code works : > > {% get_comment_list for myModule.News 1 as comment_list %} > > But  I don't want to have to write the object_id in my template ! > >    def index(request, name, cp): >     news_content = News.objects.order_by('id') >  

Re: Error using comment framework

2010-03-23 Thread Pep
Well, following the doc, this code works : {% get_comment_list for myModule.News 1 as comment_list %} But I don't want to have to write the object_id in my template ! def index(request, name, cp): news_content = News.objects.order_by('id') return render_to_response('index.html', {

Re: Error using comment framework

2010-03-23 Thread Daniel Roseman
On Mar 23, 5:07 pm, Pep 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 pr

Error using comment framework

2010-03-23 Thread Pep
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