If you are looking for a safe way to validate your files, the file validator library will do this for you, this library also supports Django.With this library you can validate files based on extension, size, mimes and magic numbers
Hello friends, I hope you are great
I created this library so that the files can be validated in a more secure way, and you can use it and if you like, help in its development, and if you have any suggestions that you think would be better, tell me.
Beautify Github Profile