Fix comment

This commit is contained in:
Piotr Jakimiak 2014-09-05 11:56:44 +02:00
parent e39422e35f
commit 6022b9ddd4

View File

@ -479,7 +479,8 @@ class CharField(WritableField):
if not self.allow_none: if not self.allow_none:
return '' return ''
else: else:
# return None implicity because smart_text(None) == 'None' # return None explicitly because smart_text(None) == 'None'
# see #1834 for details
return None return None
return smart_text(value) return smart_text(value)