def null_boolean_from_form(form_value):
    '\n    Return the boolean value based on a NullBooleanSelect form value\n    '
    return {'1': None, '2': True, '3': False}.get(form_value)
Return the boolean value based on a NullBooleanSelect form value
def null_boolean_from_form(form_value):
    '\n    \n    '
    return {'1': None, '2': True, '3': False}.get(form_value)