path should be string, bytes, os.PathLike or integer, not FileStorage code example
Example: _getfullpathname: path should be string, bytes or os.PathLike, not list
MEDIA_ROOT = os.path.join(BASE_DIR, 'media')
MEDIA_ROOT = os.path.join(BASE_DIR, 'media')