mirror of
https://github.com/django/django.git
synced 2025-09-10 11:09:12 +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:
parent
0be1c4575b
commit
eaaf01c96a
@ -7,4 +7,3 @@ class RedirectAdmin(admin.ModelAdmin):
|
|||||||
list_display = ("old_path", "new_path")
|
list_display = ("old_path", "new_path")
|
||||||
list_filter = ("site",)
|
list_filter = ("site",)
|
||||||
search_fields = ("old_path", "new_path")
|
search_fields = ("old_path", "new_path")
|
||||||
radio_fields = {"site": admin.VERTICAL}
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user