Skip to content

Commit 96e4d1a

Browse files
committed
updated the admin dashboard to filter by date joined, last login, Email verified for the accounts
1 parent 96cb07d commit 96e4d1a

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

  • backend/imhotep_finance/accounts

backend/imhotep_finance/accounts/admin.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@
1111
class UserAdmin(ModelAdmin, BaseUserAdmin):
1212
list_display = ("id", "username", "email", "is_staff", "is_active", "reset_password_button")
1313
search_fields = ("username", "email")
14+
list_filter = [
15+
"last_login",
16+
"date_joined",
17+
"email_verify"
18+
]
1419

1520
# Add custom fields to the detail view
1621
fieldsets = (

0 commit comments

Comments
 (0)