(cls, name, value)
Add an attribute to the class, clearing `_unbound_fields` if needed.
Add an attribute to the class, clearing `_unbound_fields` if needed.
Add an attribute to the class clearing _unbound_fields if needed .
def __setattr__(cls, name, value):
        """
        Add an attribute to the class, clearing `_unbound_fields` if needed.
        """
        if not name.startswith('_') and hasattr(value, '_formfield'):
            cls._unbound_fields = None
        type.__setattr__(cls, name, value)
def __setattr__ ( cls , name , value ) : if not name . startswith ( '_' ) and hasattr ( value , '_formfield' ) : cls . _unbound_fields = None type . __setattr__ ( cls , name , value )