Commit 6022b9dd by Piotr Jakimiak

Fix comment

parent e39422e3
......@@ -479,7 +479,8 @@ class CharField(WritableField):
if not self.allow_none:
return ''
else:
# return None implicity because smart_text(None) == 'None'
# return None explicitly because smart_text(None) == 'None'
# see #1834 for details
return None
return smart_text(value)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment