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
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
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/...
"task1": "http: localhost:8000 api task1 ", "task2": "http: localhost:8000 api task2 ", "task3": "http: localhost:8000 api task3 ", requestapi? "big_job": "http: localhost:800...
Files uploaded through django are always in the wrong format. The picture cannot be opened class FileUploadView (APIView): parser_classes = (FileUploadParser,) def post(self, request, filename, format=None): print filename file_obj = request....
I have defined a class with a get method that will be executed when the user sends a request using the get method (mainly to extract the data from the data and then make some modifications before sending it to the front end). But I gave it a try. When a...
I checked almost all the solutions to this error on the Internet, none of them . Ask my old friend to help me. I m really going crazy. the following is the detailed error message: Unhandled exception in thread started by <function check_errors.&...