我正在从工作表中读取数据并尝试更新表。
...
try:
equipment = Equipment.objects.filter(location=0, branch=branch).update(
has_microphone = has_microphone,
has_horn = has_horn,
has_camera = has_camera,
door_amount = door_to_str)
equipment.save()
except Exception as e:
print e
控制台错误: 'int'对象没有属性'save'
有人可以帮我吗?