X-Git-Url: https://git.stderr.nl/gitweb?p=matthijs%2Fupstream%2Fdjango-ldapdb.git;a=blobdiff_plain;f=examples%2Fadmin.py;h=8c337b6fc57bf26db48e1582b648b30080eda07a;hp=67282a6c0e45577097695d647e6eeee040dce304;hb=4f8429e9cd17f207ef429bdf21508cfac4200c4c;hpb=86f79b1135e0983d0a48e211685c57ce76ea09e0 diff --git a/examples/admin.py b/examples/admin.py index 67282a6..8c337b6 100644 --- a/examples/admin.py +++ b/examples/admin.py @@ -28,7 +28,7 @@ class LdapGroupAdmin(admin.ModelAdmin): class LdapUserAdmin(admin.ModelAdmin): exclude = ['dn', 'password', 'photo'] - list_display = ['username', 'uid'] + list_display = ['username', 'first_name', 'last_name', 'email', 'uid'] search_fields = ['first_name', 'last_name', 'full_name', 'username'] admin.site.register(LdapGroup, LdapGroupAdmin)