Thanks Simon, I use `OuterRef` when building a queryset so` Subquery` is 
necessary for me.

For myself, I solved the problem as follows:
...
uuid__in=Subquery(queryset, output_field=models.IntegerField())
...


-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/9eae1ced-9ef6-428c-aa3a-32aa4896a5a0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to