TypeError: __init__() missing 1 required positional argument: 'on_delete'

Django在根據models生成數據庫表時報 __init__() missing 1 required positional argument: 'on_delete'html #encoding=utf-8 from django.db import models # Create your models here. class BookInfo(models.Model): #建立書本
相關文章
相關標籤/搜索