Description

There's a bit of code in the many to many field definition that appends some help for the standard usability-troubled HTML select widget to the help_text:

msg = ugettext_lazy('Hold down "Control", or "Command" on a Mac, to select more than one.')
self.help_text = string_concat(self.help_text, ' ', msg)

This means that if you define a custom help_text, you have to take care to someone de-append the help_text when overwriting the widget for a form, e.g. when using the built-in CheckboxSelectMultiple widget instead of a plain select box.

Practical issues aside, it's also probably not a good idea to hardcode the help_text for a particular presentational widget in the db layer, had to grep the whole codebase to find it. :)

I suggest the text be moved to the SelectMultiple widget in the forms code.

Change History (5)

This assumption should probably not be made at all. I think the django admin (which is why this was added I'm sure) should store this in a constant somewhere and append it when it needs it like any app that's created by a django user would need to do.