Django restFramework uses admin background to add new user password encryption problem

Today, a DRF framework is built. In admin background management, the user model inherits the built-in model AbstractUser
when admin adds a new user, the user"s password is saved in clear text. What"s going on

Jun.22,2022

because the backend uses the create method of the custom model class, it is plaintext, and you can use semaphores to modify it. https://isk2y.github.io/2018/...

Menu