forked from extern/django-helpdesk
0ac7183875
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 | ||
helpers.py | ||
test_navigation.py | ||
test_per_queue_staff_permission.py | ||
test_public_actions.py | ||
test_savequery.py | ||
test_ticket_lookup.py | ||
test_ticket_submission.py |