Django models' foreign keys require you to set an on_delete function. This is true for ForeignKey, OneToOne, and OneToMany fields.
確定! 回上一頁