boul...@bcc190cf-cafb-0310-a4f2-bffc1f526a37  committed 8ea03dd

boulder-oracle-sprint: Changed NullBooleanField.allows_empty_string from
inherited value of True to False. This allows Django to correctly choose
a default value of None rather than "" when the Oracle backend is used,
as well as being generally sensible.

  • Participants
  • Parent commits 4c3f998
  • Branches boulder-oracle-sprint

Comments (0)

Files changed (1)

File django/db/models/fields/

         validators.isValidIPAddress4(field_data, None)
 class NullBooleanField(Field):
+    empty_strings_allowed = False
     def __init__(self, *args, **kwargs):
         kwargs['null'] = True
         Field.__init__(self, *args, **kwargs)