Re: Counting results

2009-08-05 Thread Randy Barlow
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 When ideas fail declared: > Hi, I was wondering what is the simpliest way to count the number of > objects returned in a QuerySet? > > Basically i have a blog and i want to count the number of comment > relating to each post and display it, the blog

Re: Counting results

2009-08-05 Thread Luke Seelenbinder
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I believe QuerySets have a .count() method. Luke luke.seelenbin...@gmail.com When ideas fail wrote: > Hi, I was wondering what is the simpliest way to count the number of > objects returned in a QuerySet? > > Basically i have a blog and i want to