#6183: [patch] Support help_text with ManyToMany field widgets
------------------------------------------------------+---------------------
Reporter: Steven Armstrong <[email protected]> | Owner: nobody
Status: new | Milestone:
Component: django.contrib.admin | Version: 1.1
Resolution: | Keywords:
Stage: Accepted | Has_patch: 1
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 1 |
------------------------------------------------------+---------------------
Comment (by mattjmorrison):
I'm not sure if this is really a separate issue, but it seems related to
this one... First off, why is there default help text in the
ManyToManyField specific to a widget that COULD be used for that type of
field? It seems like that "Hold down control..." wording really doesn't
belong in a database level field class at all. Secondly, I'm sure this
was added for a reason, but why is the help_text of a ManyToManyField not
over-writable? Looking at the trunk, any specified help_text that I
specify on my ManyToManyFields still has the "widget specific" wording
appended to the end of it. In my case, I'd like to specify some help_text
for a ManyToManyField and I also happen to be using my own custom widget
for that same field. Since the "Hold down control..." wording doesn't
make any sense for my custom widget, I should be able to override it with
my own help_text.
IMHO, I think the real patch should remove the default help_text from the
ManyToManyField class all together, and have that help_text added to the
SelectMultiple widget instead.
Let me know if you think this should be a separate ticket/patch...
--
Ticket URL: <http://code.djangoproject.com/ticket/6183#comment:8>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.