Why Django Rest Framework - Serializer validation doesn't work

前端 未结 0 1369
忘掉有多难
忘掉有多难 2020-11-27 08:22

I have a simple serializer in my serializers.py and I want to validate one of the fields using validate(self, data) but it doesn\'t work.

My Models.py:



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