From: jlaine Date: Mon, 31 May 2010 20:26:22 +0000 (+0000) Subject: improve display X-Git-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;h=4f8429e9cd17f207ef429bdf21508cfac4200c4c;p=matthijs%2Fupstream%2Fdjango-ldapdb.git improve display git-svn-id: https://svn.bolloretelecom.eu/opensource/django-ldapdb/trunk@914 e071eeec-0327-468d-9b6a-08194a12b294 --- 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)