Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

Small docstring edit to change from [6745]

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 31a17467eb7ac586ea403489cf0070f6277a8632 1 parent b34b1a8
@adrianholovaty adrianholovaty authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 django/newforms/
4 django/newforms/
@@ -533,8 +533,8 @@ def clean(self, value):
"""Returns a Python boolean object."""
super(BooleanField, self).clean(value)
# Explicitly check for the string 'False', which is what a hidden field
- # will submit for False (since bool("True") == True we don't need to
- # handle that explicitly).
+ # will submit for False. Because bool("True") == True, we don't need to
+ # handle that explicitly.
if value == 'False':
return False
return bool(value)

0 comments on commit 31a1746

Please sign in to comment.
Something went wrong with that request. Please try again.