From 28c3690da7f6262a430b32433d5a766504f43af1 Mon Sep 17 00:00:00 2001 From: Matt Molyneaux Date: Thu, 5 Jun 2014 01:19:46 +0100 Subject: [PATCH] Give CustomField.empty_selection_list a default value BooleanField defaults to False <1.6 and to None >=1.6, causing tests to fail on 1.6 --- helpdesk/models.py | 1 + 1 file changed, 1 insertion(+) diff --git a/helpdesk/models.py b/helpdesk/models.py index bb0643e0..e0c8e6c8 100644 --- a/helpdesk/models.py +++ b/helpdesk/models.py @@ -1194,6 +1194,7 @@ class CustomField(models.Model): empty_selection_list = models.BooleanField( _('Add empty first choice to List?'), + default=False, help_text=_('Only for List: adds an empty first entry to the choices list, which enforces that the user makes an active choice.'), )