Django - Filtering by generic foreign key's attribute

后端 未结 0 1892
眼角桃花
眼角桃花 2020-11-30 23:53

I have a model structure (truncated models to simplify):

class Product(models.Model):
    style_id = models.CharField(max_length=20, unique=True, primary_key=         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题