I just tracked this on my OS X system using Django 1.4.1.
In django / core / files / uploadedfile.py, a temporary file is created using django.core.files.temp, imported as tempfile
from django.core.files import temp as tempfile
This just returns the standard tempfile.NamedTemporaryFile Python if it doesn't work on Windows.
To see the location of tempdir, you can run this command in the shell:
python -c "import tempfile; print tempfile.gettempdir()"
On my system right now it produces / var / folders / 9v / npjlh_kn7s9fv5p4dwh1spdr0000gn / T, where I found my temporarily downloaded file.
source share