Re: ManyToManyField how to get the fields in a ListView?

2019-04-19 Thread bob
I feel something like this is what I need select obj,name,png from items_monolithic, items_facepng where object==obj; But I do not know how to do that in Django. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group

ManyToManyField how to get the fields in a ListView?

2019-04-19 Thread bob
I do not understand how to get my queryset from the ManyToManyField in my ListView *Models* class Monolithic(models.Model): obj = models.CharField( max_length=128, blank=False, null=False, unique= True) face2 = models.ManyToManyField(FacePng) class FacePng(models.Model): obj = models.C