Hi,
i am trying to count the number of fields that has request field begin
checked and then display the value of count in a template.html but i am not
sure how to go about doing that.

For example i want to do something like

test=ball.object.filter(request="checked").count()

then on a template.html i want to out put the value of test

{{test}}

i have try that but i am not getting any value from the output.


Thanks in advance

Cheers

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAPCf-y7B_52Zod4CyB1E%3DbrapRHDcBBvmoobiNPLtw29j%3D2r_A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to