mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-03 14:49:16 +02:00
8 lines
248 B
Python
8 lines
248 B
Python
from django.contrib import admin
|
|
|
|
from . import models
|
|
|
|
@admin.register(models.Listening)
|
|
class ListeningAdmin(admin.ModelAdmin):
|
|
list_display = ['track', 'end_date', 'user', 'session_key']
|
|
search_fields = ['track__name', 'user__username']
|