X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/3ca475c8e10c811633dec531772e18da6e5fa33d..refs/heads/master:/src/team/admin.py?ds=sidebyside 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']