mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-04 17:09:16 +02:00
Audio federation
This commit is contained in:
parent
6992c567fb
commit
e49a460203
85 changed files with 2598 additions and 1204 deletions
|
@ -33,8 +33,8 @@ class ImportBatchAdmin(admin.ModelAdmin):
|
|||
|
||||
@admin.register(models.ImportJob)
|
||||
class ImportJobAdmin(admin.ModelAdmin):
|
||||
list_display = ["source", "batch", "track_file", "status", "mbid"]
|
||||
list_select_related = ["track_file", "batch"]
|
||||
list_display = ["source", "batch", "upload", "status", "mbid"]
|
||||
list_select_related = ["upload", "batch"]
|
||||
search_fields = ["source", "batch__pk", "mbid"]
|
||||
list_filter = ["status"]
|
||||
|
||||
|
@ -55,8 +55,8 @@ class LyricsAdmin(admin.ModelAdmin):
|
|||
list_filter = ["work__language"]
|
||||
|
||||
|
||||
@admin.register(models.TrackFile)
|
||||
class TrackFileAdmin(admin.ModelAdmin):
|
||||
@admin.register(models.Upload)
|
||||
class UploadAdmin(admin.ModelAdmin):
|
||||
list_display = [
|
||||
"track",
|
||||
"audio_file",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue