How can I create a ModelViewSet for my Customer and Order Models in Django?

前端 未结 0 955
深忆病人
深忆病人 2021-01-05 06:20

So I have a Customer Model.

class Customer(models.Model):
    first_name = models.CharField(max_length=50)
    last_name = models.CharField(max_length=50)
            


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