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
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,
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):
3 matches
Mail list logo