Changes between Version 1 and Version 2 of Ticket #34624


Ignore:
Timestamp:
Jun 2, 2023, 9:25:53 AM (18 months ago)
Author:
Thibaud Colas
Comment:

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:
     1Spotted 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:
    22
    33[[Image(https://code.djangoproject.com/raw-attachment/ticket/34624/related-links.gif)]]
Back to Top