projects
/
matthijs
/
upstream
/
django-ldapdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
test admin interface search
[matthijs/upstream/django-ldapdb.git]
/
examples
/
admin.py
diff --git
a/examples/admin.py
b/examples/admin.py
index 8948bbc867930f3f9a90927116916af9055133a0..8b33ecb3517052f2c098f62dc7e09e4ad2d2620d 100644
(file)
--- a/
examples/admin.py
+++ b/
examples/admin.py
@@
-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']