Class NullBooleanSelect
A Select Widget intended to be used with NullBooleanField.
Declaration
class NullBooleanSelect(
Select)
source linkDocumentation
Methods
▶ def __init__(self, attrs=None) override ▶ def format_value(self, value) overrideinherited doc Return selected values as a list.
▶ def value_from_datadict(self, data, files, name) overrideinherited doc Given a dictionary of data and this widget's name, return the value of this widget or None if it's not provided.