在Django中,MySQL中的布尔字段存储为TINYINT.当我检索它时,我得到0或1.我不应该得到假或真?有没有办法实现这种行为?
python mysql django boolean
boolean ×1
django ×1
mysql ×1
python ×1