(self, request_params, request_user, lang=None)
return context
Context for rendering the filter.

        Args:
            request_params: is a dict of request.GET or request.POST params
Context for rendering the filter.
Context for rendering the filter .
def context(self, request_params, request_user, lang=None):
        """
        Context for rendering the filter.

        Args:
            request_params: is a dict of request.GET or request.POST params
        """
        context = {
            'label': localize(self.label, lang),
            'css_id': self.css_id,
            'value': self.get_value(request_params, request_user),
        }
        context.update(self.filter_context(request_user))
        return context
def context ( self , request_params , request_user , lang = None ) : context = { 'label' : localize ( self . label , lang ) , 'css_id' : self . css_id , 'value' : self . get_value ( request_params , request_user ) , } context . update ( self . filter_context ( request_user ) ) return context