Opened 17 years ago
Closed 17 years ago
#6060 closed (duplicate)
newforms-admin widgets need to mark_safe their output
Reported by: | Owned by: | nobody | |
---|---|---|---|
Component: | contrib.admin | Version: | newforms-admin |
Severity: | Keywords: | ||
Cc: | Triage Stage: | Unreviewed | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
I use raw_id_fields in newforms-admin and now with the autoescape code merged see escaped html for these fields. Attached patch mark_safe's the output of all (I think I got them all) the widgets in django/contrib/admin/widgets.py but I'll admit I believe my app only uses the ForeignKeyRawIdWidget, so I didn't actually verify the fix for the other widgets.
Attachments (1)
Change History (2)
by , 17 years ago
Attachment: | safe_widgets.diff added |
---|
comment:1 by , 17 years ago
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Closed as a duplicate of #6058. That ticket has a patch that covers this issue and more.