Return two different models in the same queryset in django

前端 未结 0 1122
渐次进展
渐次进展 2020-11-29 19:34

Let\'s use these 2 simple models for example. A product can have multiple images.

models.py

class Product(models.Model):
    name=mode         


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