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')
>
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', {
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
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
4 matches
Mail list logo