mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-04 15:09:22 +02:00
12 lines
259 B
Python
12 lines
259 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'
|
|
]
|