1
0
mirror of https://github.com/django/django.git synced 2025-09-09 18:49:11 +00:00

Refs #34624 -- Changed RedirectAdmin to use a Select widget for the site field.

Signed-off-by: SaJH <wogur981208@gmail.com>
This commit is contained in:
SaJH 2025-08-27 23:39:31 +09:00 committed by Sarah Boyce
parent 0be1c4575b
commit eaaf01c96a

View File

@ -7,4 +7,3 @@ class RedirectAdmin(admin.ModelAdmin):
list_display = ("old_path", "new_path")
list_filter = ("site",)
search_fields = ("old_path", "new_path")
radio_fields = {"site": admin.VERTICAL}