#27905 closed Bug (fixed)
Admin RelatedFieldWidgetWrapper ignores wrapped widget's value_omitted_from_data()
| Reported by: | Raphael Merx | Owned by: | Raphael Merx |
|---|---|---|---|
| Component: | contrib.admin | Version: | 1.10 |
| Severity: | Normal | Keywords: | |
| 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
When using a custom widget for a related field in the admin, the value_omitted_from_data method on the custom widget is ignored because RelatedFieldWidgetWrapper does not delegate value_omitted_from_data to the wrapped widget.
Change History (5)
comment:2 by , 9 years ago
| Summary: | Admin RelatedFieldWidgetWrapper ignores custom value_omitted_from_data → Admin RelatedFieldWidgetWrapper ignores wrapped widget's value_omitted_from_data() |
|---|---|
| Triage Stage: | Unreviewed → Ready for checkin |
Note:
See TracTickets
for help on using tickets.
PR