2020年10月13日

models常用字段和参数

摘要: 源地址:https://www.cnblogs.com/liuqingzheng/articles/9627915.html 字段 AutoField int自增列,必须填入参数 primary_key=True。当model中如果没有自增列,则自动会创建一个列名为id的列。 IntegerFiel 阅读全文

posted @ 2020-10-13 16:24 信奉上帝的小和尚 阅读(871) 评论(0) 推荐(1) 编辑

导航