Re: templatetags: returning more information of every object in a list of objects (not only the objects)

2006-10-19 Thread zenx
thanks! just tried that way and everythings works. Thank you, Malcolm! --~--~-~--~~~---~--~~ 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

Re: templatetags: returning more information of every object in a list of objects (not only the objects)

2006-10-19 Thread Malcolm Tredinnick
On Thu, 2006-10-19 at 09:18 +, zenx wrote: > Hi, > I have a templatetag that returns a lists of objects. The problem is I > want to include another information for every object: I want to include > the number of related objects for every object of a ManyToMany > relationship. The model

templatetags: returning more information of every object in a list of objects (not only the objects)

2006-10-19 Thread zenx
Hi, I have a templatetag that returns a lists of objects. The problem is I want to include another information for every object: I want to include the number of related objects for every object of a ManyToMany relationship. The model ArtistaTag has a ManyToMany relationship with Artistas. So I