#25552: Admin readonly field help text show 'None'
-------------------------------+-----------------------
     Reporter:  iici-gli       |      Owner:  nobody
         Type:  Bug            |     Status:  new
    Component:  contrib.admin  |    Version:  1.8
     Severity:  Normal         |   Keywords:  help text
 Triage Stage:  Unreviewed     |  Has patch:  1
Easy pickings:  1              |      UI/UX:  0
-------------------------------+-----------------------
 The help_text_for_field function in contrib/admin/utils returns 'None'  if
 field.help_text is None.
 Needs to  following statements:
        if hasattr(field, 'help_text'):
             help_text = field.help_text

 TO:
      help_text = getattr(field, 'help_text', '')

--
Ticket URL: <https://code.djangoproject.com/ticket/25552>
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/051.668231c18bec0e584a421dcc366e6326%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to