Add ScrobbledPage model to start book transition
This commit is contained in:
@ -7,6 +7,7 @@ from scrobbles.models import (
|
||||
LastFmImport,
|
||||
RetroarchImport,
|
||||
Scrobble,
|
||||
ScrobbledPage,
|
||||
)
|
||||
from scrobbles.mixins import Genre
|
||||
|
||||
@ -119,3 +120,13 @@ class ScrobbleAdmin(admin.ModelAdmin):
|
||||
|
||||
def playback_percent(self, obj):
|
||||
return obj.percent_played
|
||||
|
||||
|
||||
@admin.register(ScrobbledPage)
|
||||
class ScrobbledPageAdmin(admin.ModelAdmin):
|
||||
list_display = (
|
||||
"number",
|
||||
"scrobble",
|
||||
"notes",
|
||||
)
|
||||
raw_id_fields = ("scrobble",)
|
||||
|
||||
Reference in New Issue
Block a user