summaryrefslogtreecommitdiff
path: root/django/http
diff options
context:
space:
mode:
Diffstat (limited to 'django/http')
-rw-r--r--django/http/multipartparser.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/django/http/multipartparser.py b/django/http/multipartparser.py
index 8bed5681cf..fc48aa9e7b 100644
--- a/django/http/multipartparser.py
+++ b/django/http/multipartparser.py
@@ -136,6 +136,7 @@ class MultiPartParser(object):
# since we cannot be sure a file is complete until
# we hit the next boundary/part of the multipart content.
self.handle_file_complete(old_field_name, counters)
+ old_field_name = None
try:
disposition = meta_data['content-disposition'][1]