From cfff5ea264fc39dbdc7ad0e5cb7ca19b480e7a08 Mon Sep 17 00:00:00 2001 From: Bben <47628473+Bbillyben@users.noreply.github.com> Date: Thu, 6 Oct 2022 13:35:20 +0200 Subject: [PATCH] Last Connection date for user in admin panel (#3747) * Last Connection date for user in admin panel display last connection for each user in user admin panel. add the date at the end of the tab * Update admin.py * Update admin.py --- InvenTree/users/admin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/InvenTree/users/admin.py b/InvenTree/users/admin.py index b608f91b46..30d63a2156 100644 --- a/InvenTree/users/admin.py +++ b/InvenTree/users/admin.py @@ -208,7 +208,7 @@ class InvenTreeUserAdmin(UserAdmin): (And it's confusing!) """ - + list_display = ('username', 'email', 'first_name', 'last_name', 'is_staff', 'last_login') # display last connection for each user in user admin panel. fieldsets = ( (None, {'fields': ('username', 'password')}), (_('Personal info'), {'fields': ('first_name', 'last_name', 'email')}),