#9321: When overriding the widget for a manytomany field default help_text stays
-------------------------------------+-------------------------------------
     Reporter:  mrcai                |                    Owner:  nobody
         Type:  Bug                  |                   Status:  closed
    Component:  Forms                |                  Version:  1.4
     Severity:  Normal               |               Resolution:  fixed
     Keywords:  manytomanyfield,     |             Triage Stage:  Accepted
  widget, related.py, admin          |      Needs documentation:  0
    Has patch:  1                    |  Patch needs improvement:  1
  Needs tests:  1                    |                    UI/UX:  1
Easy pickings:  0                    |
-------------------------------------+-------------------------------------

Comment (by Ramiro Morales <cramm0@…>):

 In [changeset:"8c2fd050f80f528cc1609c1a7f16901194834831"]:
 {{{
 #!CommitTicketReference repository=""
 revision="8c2fd050f80f528cc1609c1a7f16901194834831"
 Made fix for #9321 less buggy and more effective.

 Don't try to be smart about building a good-looking help string
 because it evaluates translations too early, simply use the same old
 strategy as before. Thanks Donald Stufft for the report.

 Also, actually fix the case reported by the OP by special-casing
 CheckboxSelectMultiple.

 Added tests.

 Refs #9321.
 }}}

-- 
Ticket URL: <https://code.djangoproject.com/ticket/9321#comment:49>
Django <https://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 unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/063.3313a6829a70c379b658eb656c8e3103%40djangoproject.com?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to