在项目中创建数据表之后运行python manage.py makemigrations 出现 TypeError: init() missing 1 required positional argument: 'on_delete’
解决方法: 加上这句代码就可以了