How to restrict a custom validator to only pushing errors to field.errors and not django messages?

后端 未结 0 340
滥情空心
滥情空心 2020-11-29 22:03

I am using a custom validator on a model field.

Model field:

html_content = models.TextField(blank=True,
                                verbose_name=_         


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