On Nov 30, 1:48 am, Malcolm Tredinnick <[EMAIL PROTECTED]>
wrote:

> The set of associated rating for an entry 'e' are accessible via
> e.rating_set. So {{e.rating_set.rating}} will do what you're after.

Thank you!

{{ e.rating_set.all.count }} gives me the number of votes, and
{{e.rating_set.all.0.rating}} gives me the first vote.
{{ e.rating_set.rating }} shows up empty though.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to