Hello list. I have a question. Whit a model like this ---------------------------------------------------------------------- class Ghi(models.model): dat = models.IntegerField(unique =True)
class Def(models.Model): ghis = models.ForeignKeyField(Ghi) class Abc(models.Model): defs = models.ManyToManyField(Def) ---------------------------------------------------------------------- And from my view I return something like Abc.objects.all() Are some way to ask in the template something like: exists in Abc.defs.ghis.dat == 1? thanks for read. P.D.: Django 1.2.1 -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@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.