kopia lustrzana https://dev.funkwhale.audio/funkwhale/funkwhale
13 wiersze
259 B
Python
13 wiersze
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'
|
||
|
]
|