I'd say it's correct. Input value is "1", not True.
>>> htmlfill.render("""<input type="checkbox" name="cbox" value="1">""",
{'cbox': 1})
'<input type="checkbox" name="cbox" value="1" checked="checked">'
.pk.
No, because you can have multiple checkboxes with the same name but different
values. The only way to distinguish them is by these values.
.pk.