执行python manage.py makemigrations时报错TypeError: __init__() missing 1 required positional argument: 'on_delete'
摘要:
在执行python manage.py makemigrations时报错: TypeError: __init__() missing 1 required positional argument: 'on_delete' 解决方法: 在连接外键时加上: 阅读全文
posted @ 2018-04-14 11:10 pandaboy1123 阅读(300) 评论(0) 推荐(0)
浙公网安备 33010602011771号