mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-04 13:09:16 +02:00
Fixed #80: Added admin interface for radios, track files, favorites...
This commit is contained in:
parent
c89212379d
commit
e13ac32370
6 changed files with 113 additions and 3 deletions
|
@ -6,3 +6,7 @@ from . import models
|
|||
class ListeningAdmin(admin.ModelAdmin):
|
||||
list_display = ['track', 'end_date', 'user', 'session_key']
|
||||
search_fields = ['track__name', 'user__username']
|
||||
list_select_related = [
|
||||
'user',
|
||||
'track'
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue