Hi all,

I have two models, Provider and Record.  Record has the foreign key
provider_id.  In my template I'm displaying how many records a
provider has by using object.record__set.count.  If Record had a
status field, how would I display how many records with a particular
status a provider had?

Many thanks in advance.
Jamie
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to