def get_model_field_data(self, model_class, field_name):
        """
        Extract the verbose name and value for a model's field value
        """
        field = model_class._meta.get_field(field_name)
        if field.choices:
            value = getattr(model_class, field_name % 'get_%s_display')()
        else:
            value = getattr(model_class, field_name)
        return {
            'name': getattr(field, 'verbose_name'),
            'value': value,
        }
dataset/ETHPy150Open django-oscar/django-oscar/src/oscar/apps/customer/views.py/ProfileView.get_model_field_data/swapped operands of `%`