mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-04 15:09:22 +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
16
api/funkwhale_api/requests/admin.py
Normal file
16
api/funkwhale_api/requests/admin.py
Normal file
|
@ -0,0 +1,16 @@
|
|||
from django.contrib import admin
|
||||
|
||||
from . import models
|
||||
|
||||
|
||||
@admin.register(models.ImportRequest)
|
||||
class ImportRequestAdmin(admin.ModelAdmin):
|
||||
list_display = ['artist_name', 'user', 'status', 'creation_date']
|
||||
list_select_related = [
|
||||
'user',
|
||||
'track'
|
||||
]
|
||||
list_filter = [
|
||||
'status',
|
||||
]
|
||||
search_fields = ['artist_name', 'comment', 'albums']
|
Loading…
Add table
Add a link
Reference in a new issue