Changes between Version 1 and Version 2 of Ticket #34624
- Timestamp:
- Jun 2, 2023, 9:25:53 AM (18 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #34624 – Description
v1 v2 1 In the Redirects contrib module, when creating a new redirect, the first field is for a Site instance. This is using a radio button (`radio_fields` ModelAdmin definition: https://github.com/django/django/blob/main/django/contrib/redirects/admin.py#L10). This uses `RelatedFieldWidgetWrapper` – which doesn’t work for radio widgets. Demo:1 Spotted as part of #34622. In the Redirects contrib module, when creating a new redirect, the first field is for a Site instance. This is using a radio button (`radio_fields` ModelAdmin definition: https://github.com/django/django/blob/main/django/contrib/redirects/admin.py#L10). This uses `RelatedFieldWidgetWrapper` – which doesn’t work for radio widgets. Demo: 2 2 3 3 [[Image(https://code.djangoproject.com/raw-attachment/ticket/34624/related-links.gif)]]