mirror of
				https://github.com/inventree/InvenTree.git
				synced 2025-10-31 21:25:42 +00:00 
			
		
		
		
	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
This commit is contained in:
		| @@ -208,7 +208,7 @@ class InvenTreeUserAdmin(UserAdmin): | |||||||
|  |  | ||||||
|     (And it's confusing!) |     (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 = ( |     fieldsets = ( | ||||||
|         (None, {'fields': ('username', 'password')}), |         (None, {'fields': ('username', 'password')}), | ||||||
|         (_('Personal info'), {'fields': ('first_name', 'last_name', 'email')}), |         (_('Personal info'), {'fields': ('first_name', 'last_name', 'email')}), | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user