python - where does a django file upload is stored? -


if create django form permits user upload file, file stored or configure from. using development server porvided django. please me this?

all answers can found in the documentation.

if file small enough, it's stored in memory. if not, it's saved under file_upload_temp_dir directory (/tmp default on unix systems).

you can customize upload process writing your own upload handlers (once again, it's in link above).

i don't believe there real differences between dev server , prod environment on topic.


Comments

Popular posts from this blog

php - What is the difference between $_SERVER['PATH_INFO'] and $_SERVER['ORIG_PATH_INFO']? -

fortran - Function return type mismatch -

queue - mq_receive: message too long -