Skip to content

Commit

Permalink
Add filters to the admin list of users
Browse files Browse the repository at this point in the history
  • Loading branch information
tudoramariei committed Feb 20, 2024
1 parent 43f7194 commit ed20e08
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions backend/users/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ class UserAdmin(admin.ModelAdmin):
"email",
)
list_display_links = ("email",)
list_filter = ("is_active", "is_staff", "is_superuser")

0 comments on commit ed20e08

Please sign in to comment.