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:
Matt Molyneaux 2014-06-05 01:19:46 +01:00
parent 8b2489d87d
commit 28c3690da7

View File

@ -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.'),
)