Skip to content
Snippets Groups Projects
Commit 236e2055 authored by Calum Mackervoy's avatar Calum Mackervoy
Browse files

Merge branch 'feature/columns-ldpuseradmin' into 'master'

feature: add date_joined and last_login to ldpadmin

Closes applications/hubl#793

See merge request !171
parents f788803f 185e3805
No related branches found
No related tags found
1 merge request!171feature: add date_joined and last_login to ldpadmin
Pipeline #8025 passed with stage
in 22 seconds
......@@ -13,7 +13,7 @@ class DjangoLDPAdmin(GuardedModelAdmin):
class DjangoLDPUserAdmin(UserAdmin, GuardedModelAdmin):
'''An extension of UserAdmin providing the functionality of DjangoLDPAdmin'''
list_display = ('urlid', 'email', 'first_name', 'last_name', 'is_staff')
list_display = ('urlid', 'email', 'first_name', 'last_name', 'date_joined', 'last_login', 'is_staff')
def get_fieldsets(self, request, obj=None):
fieldsets = super().get_fieldsets(request, obj)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment