[EMAIL PROTECTED] wrote:
> This is already in the api, no need to write extra sql, try:
> 
> c.soccerteam_set.count()
> 
> http://www.djangoproject.com/documentation/db_api/#backward

I know of the FOO_set-property, but I need to use it as a filter
condition. As far as my Django experience goes, this isn't possible.

-- 
Christian Joergensen | Linux, programming or web consultancy
http://www.razor.dk  |     Visit us at: http://www.gmta.info

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to