Unverified Commit d74d3523 authored by Julien Palard's avatar Julien Palard
Browse files

admin: Allow to search user by team name.

parent 86166f7f
......@@ -259,6 +259,7 @@ class MyUserAdmin(UserAdmin):
list_display = UserAdmin.list_display + ("date_joined", "points", "rank")
ordering = ("-date_joined",)
inlines = (MembershipInline,)
search_fields = UserAdmin.search_fields + ("teams__name",)
fieldsets = (
(
None,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment