How does Django rest-framework-jwt rewrite the error message returned?

clipboard.png
I used django rest-framework-JWT directly to log in.
I want to customize the error message returned and be able to directly indicate whether the user name or password is wrong.
where can I change it?

Apr.03,2021

Hello, how did you solve it in the end? I am also trapped by this problem, and I can't understand the source code.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e5fc55-59de0.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e5fc55-59de0.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?