Re: Some questions about uploaded file

2012-10-11 Thread Hendrik Speidel
Hi, django uses upload handlers to manage uploaded files. In the default configuration, if the uploaded file is small, it is only stored in memory at that point. Therefore, the uploaded file object does not expose a temporary path as part of its public api. When using a FileField/ImageField as par

Some questions about uploaded file

2012-10-11 Thread Jiao Li
Hi, I uploaded a file to the server. I want to extract the location of the file at the server side. I use request.FILES['location'] to get my file. When I print the request.FILE['location'], it just shows the file name, not the path name. So how can I get the path of the file uploaded? Thank you