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