在运行一个基于python的医疗系统时出现错误

Cannot resolve keyword 'status' into field. Choices are: address, consultation_hours, doctor, doctor_id, doctor_name, id, illness, isdelete, patient, patient_id, patient_name, registration_time

img

看起来就是告诉你字段"status"是不存在的,表里只有字段address, consultation_hours, doctor, doctor_id, doctor_name, id, illness, isdelete, patient, patient_id, patient_name, registration_time。

  1. 你可以查看下数据库中相关的table
  2. 你可以查看下代码里的相关的model