Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Debian New Member Process
contributors.debian.org
Commits
7d0fa272
Verified
Commit
7d0fa272
authored
Jan 10, 2021
by
Mattia Rizzolo
Browse files
signon: allow searches in the admin site
Signed-off-by:
Mattia Rizzolo
<
mattia@debian.org
>
parent
dd503b9a
Changes
1
Hide whitespace changes
Inline
Side-by-side
signon/admin.py
View file @
7d0fa272
...
...
@@ -2,4 +2,9 @@ from django.contrib import admin
from
.models
import
Identity
admin
.
site
.
register
(
Identity
)
@
admin
.
register
(
Identity
)
class
IdentityAdmin
(
admin
.
ModelAdmin
):
search_fields
=
(
"username"
,
"person__fullname"
,
"person__email"
,
)
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment