摘要: 给新加入的字段添加一个default默认值即可,让字段非空。然后在进行makemigrations,完成操作后删除相关默认值即可。 阅读全文
posted @ 2017-05-10 09:21 小黄人python 阅读(301) 评论(0) 推荐(0) 编辑