在创建数据库唯一性约束的时候,如下代码不生效,原因未找到,先mark下
_sql_constraints = [
('name_uniq',
'UNIQUE (name)',
'Book title must be unique.')
]
在创建数据库唯一性约束的时候,如下代码不生效,原因未找到,先mark下
_sql_constraints = [
转载于:https://www.cnblogs.com/waterdroptec/p/11306689.html