﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
10293	Show Unicode representations next to ManyToMany raw_id_field	joaoolavo	nobody	"Here's what's necessary to be changed to show the Unicode strings of the related objects next to a ManyToMany raw_id_field. Inside file django/contrib/admin/widgets.py, change the method label_for_value() of class ManyToManyRawIdWidget to this one:

{{{
def label_for_value(self, value):
        value = [int(v) for v in value.split(',')]
        objs = self.rel.to._default_manager.filter(pk__in=value)
        return '&nbsp;<strong>%s</strong>' % ',&nbsp;'.join(truncate_words(obj, 14) for obj in objs)
}}}
"	New feature	closed	contrib.admin	1.0	Normal	duplicate	raw_id_field, manytomanyfield, manytomanyrawidwidget, unicode representation	carlos.palol@… stan@…	Design decision needed	0	0	0	0	0	1
