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'
    ]
