def __init__(self, queryset, *args, **kwargs):
        self.queryset = queryset
        self.model = queryset.model

        options = utils.model_options(self.model)

        self.app_label = options.app_label
        self.model_name = options.model_name

        self.item_count = len(queryset)

        if self.item_count <= 1:
            objects_name = options.verbose_name
        else:
            objects_name = options.verbose_name_plural
        self.objects_name = force_text(objects_name)

        super(BaseListAction, self).__init__(*args, **kwargs)
dataset/ETHPy150Open pydanny/django-admin2/djadmin2/actions.py/BaseListAction.__init__/original