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. |
| 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: |
| 2 | |
| 3 | [[Image(https://code.djangoproject.com/raw-attachment/ticket/34624/related-links.gif)]] |