this? Can I create a custom RelatedManager for 'bars'? I
can rewrite it as:
Bar.prefetched.filter(mymodels=m, ...)
but it feels more awkward.
Thanks,
Erik
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from
I have the following object structure:
class Car(models.Model):
name = models.CharField(max_length=16)
class Person(models.Model):
name = models.CharField(max_length=32)
cars = models.ManyToManyField(Car, through='Relationship')
parent = models.ForeignKey('self', null=True,
2 matches
Mail list logo