Django - filtering on foreign key properties

后端 未结 3 1565
情书的邮戳
情书的邮戳 2020-11-27 12:14

I\'m trying to filter a table in Django based on the value of a particular field of a ForeignKey.

For example, I have two models:

class          


        
3条回答
提交回复
热议问题