db_constraint 唯一约束 db_constraint = True 方便查询 约束字段 db_constraint = fales 不约束字段 同时也可以查询 转载于:https://www.cnblogs.com/apollo1616/articles/10049050.html