Django报错:联表删除,外键置空时遇到报错:django.db.utils.IntegrityError: (1452, ‘Cannot add or update a child row:..)
Cannotaddorupdateachildrow:aforeignkeyconstraintfails(django.company_employee,CONSTRAINTcompany_employee_depart_id_9fa0588f_fk_company_department_idFO