(self, name, field, datatype, label, show_all, url_generator, choice_provider,
                 ancestor_expression=None, css_id=None)
url_generator should be a callable that takes a domain, report, and filter and returns a url.
        see userreports.reports.filters.dynamic_choice_list_url for an example.
url_generator should be a callable that takes a domain, report, and filter and returns a url.
        see userreports.reports.filters.dynamic_choice_list_url for an example.
url_generator should be a callable that takes a domain report and filter and returns a url . see userreports . reports . filters . dynamic_choice_list_url for an example .
def __init__(self, name, field, datatype, label, show_all, url_generator, choice_provider,
                 ancestor_expression=None, css_id=None):
        """
        url_generator should be a callable that takes a domain, report, and filter and returns a url.
        see userreports.reports.filters.dynamic_choice_list_url for an example.
        """
        params = [
            FilterParam(name, True),
        ]
        super(DynamicChoiceListFilter, self).__init__(name=name, params=params)
        self.datatype = datatype
        self.field = field
        self.label = label
        self.show_all = show_all
        self.css_id = css_id or self.name
        self.url_generator = url_generator
        self.choice_provider = choice_provider
        self.ancestor_expression = ancestor_expression or {}
def __init__ ( self , name , field , datatype , label , show_all , url_generator , choice_provider , ancestor_expression = None , css_id = None ) : params = [ FilterParam ( name , True ) , ] super ( DynamicChoiceListFilter , self ) . __init__ ( name = name , params = params ) self . datatype = datatype self . field = field self . label = label self . show_all = show_all self . css_id = css_id or self . name self . url_generator = url_generator self . choice_provider = choice_provider self . ancestor_expression = ancestor_expression or { }