django从1.9开始ForeignKey中的on_delete参数是必须的。TypeError: __init__() missing 1 required positional argument: 'on_delete'
原文:https://www.cnblogs.com/shiyongge/p/10202533.html