Skip to content
Snippets Groups Projects
Commit 11e12bff authored by Calum Mackervoy's avatar Calum Mackervoy Committed by Jean-Baptiste Pasquier
Browse files

update: changed list_display of DjangoLDPUserAdmin

parent 863a8048
No related branches found
No related tags found
No related merge requests found
......@@ -12,6 +12,9 @@ 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')
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