def __init__(self, *args, **kwargs): if "allow_blank" in kwargs: del kwargs["allow_blank"] if "slider_view_endpoint" in kwargs: self.slider_view_endpoint = kwargs["slider_view_endpoint"] del kwargs["slider_view_endpoint"] TextField.__init__(self, *args, **kwargs)
def __init__(self, *args, **kwargs): if "allow_blank" in kwargs: del kwargs["allow_blank"] TextField.__init__(self, *args, **kwargs)