Skip to content

Commit

Permalink
backend: user - admin
Browse files Browse the repository at this point in the history
add link clickable fields
  • Loading branch information
rkshaon committed Sep 6, 2024
1 parent f66f54a commit 350058b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions backend/user_api/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ class UserAdmin(admin.ModelAdmin):
'id', 'username', 'email', 'role', 'is_active',
'is_staff', 'is_superuser',
)
list_display_links = ('id', 'username', 'email')
list_filter = ('role', 'is_active', 'is_staff')
search_fields = ('username', 'email')
readonly_fields = ('id',)

0 comments on commit 350058b

Please sign in to comment.