forked from extern/django-helpdesk
fb3b024592
My browser sends 'on' when a checkbox is ticked, django ORM only recognises '1', 'true' or 't' as valid 'True' responses. This throws an error ValidationError at /helpdesk/save_query/ [u"'on' value must be either True or False."] This could be fixed with " value='1'" in the template, but testing that is harder My fix is to add a check in the view. 2 more lines, but easier to unittest. Core devs need to make a call as to which solution is best. D |
||
---|---|---|
.. | ||
__init__.py | ||
api.py | ||
feeds.py | ||
kb.py | ||
public.py | ||
staff.py |