DRF: How to get object in ModelSerializer.validate()

后端 未结 0 1096
一整个雨季
一整个雨季 2020-11-27 10:32

I need to get the current object in ModelSerializer.validate() when it\'s being updated(not created)

Currently, I\'m using self._args[0]



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