[scrobbles] Add PersonScrobble junction table
Some checks failed
build & deploy / test (push) Successful in 6m3s
build & deploy / deploy (push) Failing after 19s

This commit is contained in:
2026-03-21 13:44:37 -04:00
parent 10af7190ab
commit 6a2cb4a881
8 changed files with 401 additions and 48 deletions

View File

@ -1,5 +1,5 @@
from django.contrib import admin
from people.models import Person
from people.models import Person, PersonScrobble
@admin.register(Person)
@ -8,3 +8,11 @@ class PersonAdmin(admin.ModelAdmin):
list_display = ("name", "bgg_username", "bgstats_id")
ordering = ("-created",)
search_fields = ("name",)
@admin.register(PersonScrobble)
class PersonScrobbleAdmin(admin.ModelAdmin):
list_display = ("person", "user", "scrobble", "created")
list_filter = ("created",)
ordering = ("-created",)
raw_id_fields = ("person", "user", "scrobble")