create validator with objects in django

前端 未结 0 1436
名媛妹妹
名媛妹妹 2021-01-02 04:30

i want to create a validator in a model and get every same name in that model.

my try:

def unique_value(objects)         


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