#7695 closed (fixed)
Admin doc model detail template should not escape help_text
Reported by: | Ben Spaulding | Owned by: | nobody |
---|---|---|---|
Component: | contrib.admin | Version: | newforms-admin |
Severity: | Keywords: | escape html | |
Cc: | Triage Stage: | Ready for checkin | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
A model field’s help_text
is deliberately not escaped when it is displayed in the admin (see #4991, [source:/django/trunk/docs/model-api.txt@5816#L627 model-api.txt]). The admin_doc [source:/django/branches/newforms-admin/django/contrib/admin/templates/admin_doc/model_detail.html model_detail.html] template should also follow this convention.
Attachments (1)
Change History (4)
by , 16 years ago
Attachment: | model_detail.diff added |
---|
comment:1 by , 16 years ago
milestone: | → 1.0 beta |
---|---|
Triage Stage: | Unreviewed → Ready for checkin |
comment:2 by , 16 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
(In [8137]) Fixed #7695 -- Modified template to trust help_text on a model field. Thanks to Ben Spaulding for the report.