django-helpdesk/helpdesk
Daryl 0ac7183875 Add test for saving a query, fix shared checkbox issue
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
2016-06-30 11:36:21 +12:00
..
fixtures Rename initial_data.json to emailtemplate.json 2015-01-14 15:49:08 +01:00
locale Add new locales: th, ca, lv, tr_TR, he_IL, pt_PT 2015-12-22 11:35:59 +11:00
management UPDATED: print statements to be Python 3.x compatible 2016-03-01 17:01:58 -03:00
migrations Nullable "default_owner" field added to Queue model 2016-02-17 11:40:08 +03:00
south_migrations Added south migration to populate the initially existing users with usersettings. 2015-02-11 13:14:36 +01:00
static/helpdesk Merge branch 'master' into template-cleanup 2014-07-26 14:03:08 +02:00
templates/helpdesk Update ticket_cc_list.html 2016-06-09 12:41:12 +12:00
templatetags Fix: _meta.module_name deprecated in django1.8 2016-01-23 12:25:17 -08:00
tests Add test for saving a query, fix shared checkbox issue 2016-06-30 11:36:21 +12:00
views Add test for saving a query, fix shared checkbox issue 2016-06-30 11:36:21 +12:00
__init__.py Revert "Make sure custom user logic works with Django 1.4" 2014-10-24 18:05:44 +11:00
admin.py Making Queue slug unique and improving certain admin-related behaviour 2015-12-18 14:56:53 +01:00
akismet.py small fixes and translation 2011-09-01 13:01:03 +02:00
apps.py Fixes for Django 1.7. For prior Django versions, South 1.0 must be used for 2014-09-10 09:06:50 +10:00
forms.py Nullable "default_owner" field added to Queue model 2016-02-17 11:40:08 +03:00
lib.py Properly check email context keys in newer Python versions. part of #362 2015-12-16 10:48:27 +11:00
models.py Fix Issue #404: Refactor converting query string into queue:id 2016-06-26 12:45:55 +12:00
poll_helpdesk_email_queues.sh Closes #161 - provide script to simplify automation of email polling 2013-01-20 14:40:57 +11:00
settings.py change basic features of membership into permissions 2015-12-16 22:27:05 +01:00
urls.py updates to remove Django 1.10 deprecation warnings in Django 1.9: 2015-12-10 13:36:24 +01:00