GET products and images from two Django models, by filtering the product name and accessing the database only once

后端 未结 0 670
暖寄归人
暖寄归人 2020-11-29 21:59

I have two Django models for an eCommerce website:

class Product(models.Model):
    name=models.CharField(max_length=300)
    description=models.CharField(max         


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