diefenbach/django-lfs — pull request #7 by Zagrebelin (2012-05-15 15:59:36+00:00)
Title: It's impossible to check off "Active packing" and "Active base price" checkboxes.

Product model use PositiveSmallIntegerField for active_packing_unit and active_base_price fields. Value of that fields can be either 0, or 1.
CheckBoxInput widget use this code to decide when checkbox must be checked: ```lambda v: not (v is False or v is None or v == '')``` [django/forms/widgets.py#496](https://github.com/django/django/blob/1cd18f4cfdaf5f4a4002e9c59e1146e5fa0d70d3/django/forms/widgets.py#L496) and [#503](https://github.com/django/django/blob/1cd18f4cfdaf5f4a4002e9c59e1146e5fa0d70d3/django/forms/widgets.py#L503)

so, both values of the fields check that chekboxes.

Best solution will be change active_bla_bla to BooleanField, but this patch is fine too.