[Solved] Queryset inside fk attribute
[ad_1] Assuming you have a instance of the p class in self.p then the queryset S.objects.filter(r__p=self.p) would work. Next time put a bit more effort into your question though or people won’t want to put effort into an answer. 1 [ad_2] solved Queryset inside fk attribute