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
nm.debian.org
Commits
ca3a3ae5
Commit
ca3a3ae5
authored
Aug 14, 2015
by
Victor Seva
Committed by
Enrico Zini
Aug 16, 2015
Browse files
backend: add person search on Progress
parent
7e70d00b
Changes
1
Hide whitespace changes
Inline
Side-by-side
backend/admin.py
View file @
ca3a3ae5
...
...
@@ -26,6 +26,7 @@ class LogInline(admin.TabularInline):
class
ProcessAdmin
(
admin
.
ModelAdmin
):
raw_id_fields
=
(
'manager'
,)
filter_horizontal
=
(
"advocates"
,)
search_fields
=
(
"person__cn"
,
"person__sn"
,
"person__email"
,
"person__uid"
)
admin
.
site
.
register
(
bmodels
.
Process
,
ProcessAdmin
)
class
LogAdmin
(
admin
.
ModelAdmin
):
...
...
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