title: When Django deletes uploaded files from the temporary directory?
body: <p>According to the <a href="https://docs.djangoproject.com/en/1.6/topics/http/file-uploads/#where-uploaded-data-is-stored" rel="noreferrer">docs</a>:</p>
  
  <blockquote>
    <p>However, if an uploaded file is too large, Django will write the
    uploaded file to a temporary file stored in your system’s temporary
    directory. On a Unix-like platform this means you can expect Django to
    generate a file called something like <code>/tmp/tmpzfp6I6.upload</code>. If an
    upload is large enough, you can watch this file grow in size as Django
    streams the data onto disk.</p>
  </blockquote>
  
  <p>So I have uploaded several times the same big file to a view and got this:</p>
  
  <pre><code>vic@vic /tmp $ ls -l tmp*.upload
  -rw------- 1 vic vic2 3436110 мая   14 18:31 tmpKdZrQl.upload
  -rw------- 1 vic vic2 3436110 мая   14 18:31 tmpqLyBsy.upload
  </code></pre>
  
  <p>When these files are deleted from the temp directory?</p>
  
  <p>I want to avoid bloating the temp directory.</p>