Skip to content

Commit

Permalink
Add last_login to user admin filter
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeljcollinsuk committed Apr 10, 2024
1 parent 545ffe6 commit 1619bd4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions controlpanel/api/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ class UserAdmin(admin.ModelAdmin):
exclude = ("password",)
list_filter = [
"migration_state",
"last_login",
("justice_email", admin.EmptyFieldListFilter),
]
search_fields = (
Expand Down

0 comments on commit 1619bd4

Please sign in to comment.