Fix checkbox input display. Refs #3258.

This commit is contained in:
Tom Christie 2015-08-11 09:22:17 +01:00
parent e0c93c1780
commit 83e49dbe63

View File

@ -77,7 +77,7 @@ class BoundField(object):
)) ))
def as_form_field(self): def as_form_field(self):
value = '' if self.value is None else force_text(self.value) value = '' if (self.value is None or self.value is False) else force_text(self.value)
return self.__class__(self._field, value, self.errors, self._prefix) return self.__class__(self._field, value, self.errors, self._prefix)