Re: Exception in template rendering

2007-04-12 Thread hotani
I was having the same problem with {{ object_list.count }}, but from the first link above found that {{ object_list|length }} does the trick. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To

Re: Exception in template rendering

2007-03-13 Thread Jeff Forcier
Cesco, I just ran into this myself and it appears there is a ticket (two actually, one was closed as 'worksforme') for the bug: http://code.djangoproject.com/ticket/2351 http://code.djangoproject.com/ticket/2945 (closed) The 2-line patch attached to #2351 fixes the problem. Regards,

Exception in template rendering

2007-03-02 Thread checco
Hi, I was playing with the django application djangosnippets (the released source code of www.djangosnippets.org) and I got the following error: "Caught an exception while rendering: no such column: count" (it refers to the following snippet of code taken from the template snippets_list.html):