#36359: id_for_label undefined for AdminReadonlyField
-------------------------------------+-------------------------------------
Reporter: Marc Sommerhalder | Type: Bug
Status: new | Component:
| contrib.admin
Version: 5.2 | Severity: Normal
Keywords: | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
AdminReadonlyField does not define `id_for_label`
([https://github.com/django/django/blob/65bbdbd10b25700d1166b1a698e672a4695281bc/django/contrib/admin/helpers.py#L225
here]) but uses it when `help_text` is present
([https://github.com/django/django/blob/65bbdbd10b25700d1166b1a698e672a4695281bc/django/contrib/admin/templates/admin/includes/fieldset.html#L29
here]).
--
Ticket URL: <https://code.djangoproject.com/ticket/36359>
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 [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/django-updates/0107019681a8e514-ee62d415-2c74-471a-af40-3128854b1dbb-000000%40eu-central-1.amazonses.com.