test admin interface search
[matthijs/upstream/django-ldapdb.git] / examples / admin.py
index 8948bbc867930f3f9a90927116916af9055133a0..8b33ecb3517052f2c098f62dc7e09e4ad2d2620d 100644 (file)
@@ -23,6 +23,7 @@ from examples.models import LdapGroup, LdapUser
 
 class LdapGroupAdmin(admin.ModelAdmin):
     exclude = ['dn', 'usernames']
+    search_fields = ['name']
 
 class LdapUserAdmin(admin.ModelAdmin):
     exclude = ['dn', 'password', 'photo']