mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-03 21:29:16 +02:00
9 lines
243 B
Python
9 lines
243 B
Python
from funkwhale_api.common import admin
|
|
|
|
from . import models
|
|
|
|
|
|
@admin.register(models.TrackFavorite)
|
|
class TrackFavoriteAdmin(admin.ModelAdmin):
|
|
list_display = ["user", "track", "creation_date"]
|
|
list_select_related = ["user", "track"]
|