Use unicode representation of transformation

This commit is contained in:
Roberto Rosario
2015-06-08 22:28:55 -04:00
parent 285d08aae2
commit d1f76b29e7

View File

@@ -46,7 +46,7 @@ def transformation_list(request, app_label, model, object_id):
'title': _('Transformations for: %s') % content_object,
'extra_columns': [
{'name': _('Order'), 'attribute': 'order'},
{'name': _('Transformation'), 'attribute': encapsulate(lambda x: x.get_name_display())},
{'name': _('Transformation'), 'attribute': encapsulate(lambda x: unicode(x))},
{'name': _('Arguments'), 'attribute': 'arguments'}
],
'hide_link': True,