Skip to content

Commit

Permalink
admin: support search uid
Browse files Browse the repository at this point in the history
  • Loading branch information
Ehco1996 committed Aug 8, 2023
1 parent 19e2dea commit f6ed68d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/sspanel/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class UserAdmin(admin.ModelAdmin):
"date_joined",
"uid",
]
search_fields = ["username", "email", "id"]
search_fields = ["username", "email", "id", "uid"]
list_filter = ["level"]
list_per_page = 31

Expand Down

0 comments on commit f6ed68d

Please sign in to comment.