2👍
If the files are small, try using tika’s .from_buffer()
with file.read()
. However, files over 2.5 MBs are anyway saved to temporary files by django, see Where uploaded data is stored. In this case use read_by_tika(file.temporary_file_path())
. See also file upload settings
👤Udi
Source:stackexchange.com