django 2.X 关联 外键时会报错:TypeError: __init__() missing 1 required positional argument: ‘on_delete’ 10 Replies django 2.X 关联 外键时会报错:TypeError: __init__() missing 1 required positional argument: ‘on_delete’ #python3 manage.py makemigrations 报错: 解决办法: contact = models.ForeignKey(Contact, on_delete=models.CASCADE) 加参数: on_delete=models.CASCADE 赞分享
Pingback: albuterol usa
Pingback: doctor7online.com
Pingback: ciprofloxacin 500mg
Pingback: buy cialis online without prescription
Pingback: www.viagra.com
Pingback: female viagra pills
Pingback: buy naltrexone
Pingback: who has tylenol on sale
Pingback: where to buy chloroquine
Pingback: buy chloroquine