def render(self, name, value, attrs=None): value = utils.dump(value) or '' return super(MultiEmailWidget, self).render(name, value, attrs)
def get_db_prep_value(self, value, *args, **kwargs): if self.null and value is None and not kwargs.get('force'): return None return utils.dump(value)
def value_from_object(self, obj): return utils.dump(super(MultiEmailField, self).value_from_object(obj))