improve display
authorjlaine <jlaine@e071eeec-0327-468d-9b6a-08194a12b294>
Mon, 31 May 2010 20:26:22 +0000 (20:26 +0000)
committerjlaine <jlaine@e071eeec-0327-468d-9b6a-08194a12b294>
Mon, 31 May 2010 20:26:22 +0000 (20:26 +0000)
git-svn-id: https://svn.bolloretelecom.eu/opensource/django-ldapdb/trunk@914 e071eeec-0327-468d-9b6a-08194a12b294

examples/admin.py

index 67282a6c0e45577097695d647e6eeee040dce304..8c337b6fc57bf26db48e1582b648b30080eda07a 100644 (file)
@@ -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)