How to add delete and update functionality to ModelSerializer?

后端 未结 0 949
伪装坚强ぢ
伪装坚强ぢ 2020-11-29 20:59

I want to update and delete category instances using api. I have a simple model:

class Category(models.Model):
    name = models.CharField(max_length=80)

            


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