kopia lustrzana https://dev.funkwhale.audio/funkwhale/funkwhale
16 wiersze
359 B
Python
16 wiersze
359 B
Python
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'
|
|
]
|
|
list_filter = [
|
|
'status',
|
|
]
|
|
search_fields = ['artist_name', 'comment', 'albums']
|