mirror of
https://github.com/django-helpdesk/django-helpdesk.git
synced 2025-08-18 19:58:32 +02:00
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
This commit is contained in:
@@ -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.'),
|
||||
)
|
||||
|
||||
|
Reference in New Issue
Block a user