mirror of
https://github.com/django/django.git
synced 2025-11-07 07:15:35 +00:00
Fixed #36032 -- Rendered URLField values as links in the admin.
This commit is contained in:
committed by
Sarah Boyce
parent
5851605863
commit
97ee8b82c2
@@ -158,8 +158,8 @@ site.register(Parent, NoListDisplayLinksParentAdmin)
|
||||
|
||||
|
||||
class ListDisplayLinksGenreAdmin(admin.ModelAdmin):
|
||||
list_display = ["name", "file"]
|
||||
list_display_links = ["file"]
|
||||
list_display = ["name", "file", "url"]
|
||||
list_display_links = ["file", "url"]
|
||||
|
||||
|
||||
site.register(Genre, ListDisplayLinksGenreAdmin)
|
||||
|
||||
Reference in New Issue
Block a user