https://github.com/funkybob/django-sniplates/blob/master/sniplates/templatetags/sniplates.py#L350 This line here casts the value of a BooleanField to a string. This means if you try to do something like ``` <input type="checkbox" {% if value %}checked{% endif %}> ``` it won't work as value will always evaluate to True. Am I missing something here, or is this a bug?
https://github.com/funkybob/django-sniplates/blob/master/sniplates/templatetags/sniplates.py#L350
This line here casts the value of a BooleanField to a string. This means if you try to do something like
it won't work as value will always evaluate to True.
Am I missing something here, or is this a bug?