X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/3ca475c8e10c811633dec531772e18da6e5fa33d..4e8fc8e3b409859927393db2e40877df3e74208f:/src/team/admin.py diff --git a/src/team/admin.py b/src/team/admin.py index b8c448a1..6bdca87e 100644 --- a/src/team/admin.py +++ b/src/team/admin.py @@ -22,6 +22,7 @@ admin.site.register(User, CustomUserAdmin) @admin.register(models.Presence) -class ProfileAdmin(admin.ModelAdmin): - list_display = ['user', 'timestamp', 'active'] +class PresenceAdmin(admin.ModelAdmin): + list_display = ['session_key', 'chunk', 'user', 'since', 'until', 'active'] + raw_id_fields = ['chunk', 'user']