summaryrefslogtreecommitdiff
path: root/django/db/models/fields/files.py
diff options
context:
space:
mode:
authorVytis Banaitis <vytis.banaitis@gmail.com>2017-01-20 23:04:05 +0200
committerTim Graham <timograham@gmail.com>2017-01-26 08:19:27 -0500
commitd1bab24e0144d14513a1411503c95ececb425188 (patch)
tree187452bf7b66a9600abc47570ccae22e6d539ede /django/db/models/fields/files.py
parent888c1e9bfe49135d049cbdcbbb0f2e97a1a0a1f5 (diff)
downloaddjango-d1bab24e0144d14513a1411503c95ececb425188.tar.gz
Refs #23919, #27778 -- Removed obsolete mentions of unicode.
Diffstat (limited to 'django/db/models/fields/files.py')
-rw-r--r--django/db/models/fields/files.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/db/models/fields/files.py b/django/db/models/fields/files.py
index 60ac33ff63..0e9ec19e70 100644
--- a/django/db/models/fields/files.py
+++ b/django/db/models/fields/files.py
@@ -314,7 +314,7 @@ class FileField(Field):
# needed because we need to consume values that are also sane for a
# regular (non Model-) Form to find in its cleaned_data dictionary.
if data is not None:
- # This value will be converted to unicode and stored in the
+ # This value will be converted to str and stored in the
# database, so leaving False as-is is not acceptable.
if not data:
data = ''