mirror of
https://gitlab.science.ru.nl/technicie/MarietjeDjango.git
synced 2025-12-09 17:32:20 +01:00
Admin fix
This commit is contained in:
committed by
Gerdriaan Mulder
parent
65a77079a7
commit
88f709f34c
@ -13,7 +13,7 @@ class OrderAdmin(admin.ModelAdmin):
|
||||
class PlaylistSongAdmin(admin.ModelAdmin):
|
||||
list_display = ('playlist', 'song', 'user', 'state', 'played_at')
|
||||
list_filter = ('playlist', 'state', 'user')
|
||||
search_fields = ('song', )
|
||||
search_fields = ('song__title', 'song__artist', 'user__name')
|
||||
|
||||
|
||||
admin.site.register(QueueCommand)
|
||||
|
||||
Reference in New Issue
Block a user