mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-04 05:19:15 +02:00
Resolve "Hide an artist in the UI"
This commit is contained in:
parent
d4d4e60e39
commit
bdf83bd8ff
50 changed files with 1051 additions and 49 deletions
|
@ -28,3 +28,10 @@ class InstancePolicyAdmin(admin.ModelAdmin):
|
|||
"summary",
|
||||
]
|
||||
list_select_related = True
|
||||
|
||||
|
||||
@admin.register(models.UserFilter)
|
||||
class UserFilterAdmin(admin.ModelAdmin):
|
||||
list_display = ["uuid", "user", "target_artist", "creation_date"]
|
||||
search_fields = ["target_artist__name", "user__username", "user__email"]
|
||||
list_select_related = True
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue