会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Alighieri
CnBlogs
Home
New Post
Contact
Admin
Subscription
2017年12月26日
Django在根据models生成数据库表时报 __init__() missing 1 required positional argument: 'on_delete'
在django创建modules时出现以下错误 对应module的语句 需要在第8行加上,on_delete=models.CASCADE,则问题解决
Read More
posted @ 2017-12-26 15:38 Alighieri
Views(1318)
Comments(0)
Diggs(0)
公告