Django: access model instances

后端 未结 0 846
滥情空心
滥情空心 2021-01-05 22:56

I have a model called OrderItem

class OrderItem(models.Model):
    customer = models.ForeignKey(
        User, on_delete=models.SET_NULL, blank=True, null=Tru         


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