Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[1.2.X] Fixed #15362: Added explicit deletion of file to test, needed…

… now since files are no longer auto-deleted when a referencing object is deleted. Thanks mila.

r15602 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15603 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit e636db10662e64ddc4156c3a3c8a40d4fe71a7a7 1 parent 39b8a1f
@kmtracey kmtracey authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  tests/regressiontests/file_uploads/views.py
View
1  tests/regressiontests/file_uploads/views.py
@@ -71,6 +71,7 @@ def file_upload_unicode_name(request):
# upload directory has been seen to choke on unicode
# filenames on Windows.)
obj.delete()
+ os.unlink(full_name)
if response:
return response
Please sign in to comment.
Something went wrong with that request. Please try again.