id summary reporter owner description type status component version severity resolution keywords cc stage has_patch needs_docs needs_tests needs_better_patch easy ui_ux 8021 save_FIELD_file closes tmpfile before moving it Marco Paolini nobody "There seems to be a bug in django/db/models/base.py that prevents files bigger than 2.5 megs to be uploaded. 1) create a model called ""SimpleFile"" with a FileField 2) register it with the admin site 3) log in the admin app, add a new ""SimpleFile"" with a file larger than 2.5 megs, SUBMIT At this point I get an IOError because the tmpfile created by the uploadhandler no longer exists. I believe the bug lies in file django/db/models/base.py line 530. If I comment it out everything works and the temp file is deleted correctly." closed Core (Other) dev duplicate uploadhandler tmpfile Unreviewed 0 0 0 0 0 0