Django Rest Framework - “unique_together” internal server error. How to respond with error

前端 未结 0 1145
眼角桃花
眼角桃花 2021-01-03 16:10

I currently have a model called "Review" where I have a "unique_together" constraint so one user can only write one review per post.

class         


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