def get_context_data(self, **kwargs):
        
        context = super(ActionAdminListView, self).get_context_data(**kwargs)
        
        model = self.get_model()
        context['verbose_name'] = model._meta.verbose_name
        context['verbose_name_plural'] = model._meta.verbose_name_plural
        context['sortable'] = self.sortable
        # List Display Field
        if self.list_display:
            list_display_title = []
            for attr in self.list_display:
                # We first try in attribute (methods of model).
                try:
                    attr_obj = getattr(model, attr)
                    if hasattr(attr_obj, 'action_short_description'):
                        desc = getattr(attr_obj, 'action_short_description')
                    elif hasattr(attr_obj, 'short_description'):
                        desc = getattr(attr_obj, 'short_description')
                    else:
                        desc = attr_obj.__func__.__name__
                except __HOLE__:
                    # We now check in model fields
                    if hasattr(model._meta, 'translations_model') and \
                            attr in model._meta.translations_model._meta.get_all_field_names():
                        desc = model._meta.translations_model._meta.get_field(attr).verbose_name
                    elif attr in model._meta.get_all_field_names():
                        desc = model._meta.get_field(attr).verbose_name
                    else:
                        raise ValueError(_(u"Caught ImproperlyConfigured while rendering: "
                                           u"ActionAdminListView.list_display, '%(attr)s' is not a "
                                           u"callable or an attribute of the model '%(model)s'.") \
                                             % {'attr': attr, 'model': model})
                list_display_title.append(desc)
            context['list_display_title'] = list_display_title
            context['list_display'] = self.list_display
        return context
dataset/ETHPy150Open ionyse/ionyweb/ionyweb/administration/actions/views.py/ActionAdminListView.get_context_data