dispatch/api/fields.py
def get_attribute(self, instance):
        """Overrides the default get_attribute method to convert None values to False."""

        attr = super(NullBooleanField, self).get_attribute(instance)
        return True if attr else False
def get_attribute(self, instance):
        """Overrides the default get_attribute method to convert None values to False."""

        attr = super(NullBooleanField, self).get_attribute(instance)
        return True if attr else False
Overrides the default get_attribute method to convert None values to False.