Hi all,
I'm trying to use an annotated queryset inside a Prefetch object. For some
reason I'm not getting the expected result.
This is a simplified version of my models and query.
class User(models.Model):
following = models.ManyToManyField('User', related_name='followers',
through='Follo
efetches
> doing
> weird things when the same model is referenced through different
> relations[0].
>
> Simon
>
> [0] https://code.djangoproject.com/ticket/26318
>
> Le samedi 4 mars 2017 13:36:20 UTC-5, Jose Kilo a écrit :
>>
>> Hi all,
>>
>> I
2 matches
Mail list logo