django rest framework doesn't accept blob picture file (File extension “” is not allowed)
问题 I am trying to update a User Profile by making a multipart/form-data put request (from my vue frontend using axios) containing a png blob image file. I receive an error message: File extension “” is not allowed. This is the File Field on the Userprofile Model: profile_picture = models.FileField( _("Profile Pictures"), upload_to="profile_picture", max_length=100, blank=True, null=True, ) These are the signals I use in the Userprofile model to save and update the Model. @receiver(post_save,