Skip to content

Commit

Permalink
add missing fields to admin page
Browse files Browse the repository at this point in the history
  • Loading branch information
BenediktMKuehne committed Feb 6, 2025
1 parent 3185c1e commit 64d7a3d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions embark/users/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,9 @@

from users.models import User, Team

UserAdmin.list_display += ('timezone', 'team_role',)
UserAdmin.list_filter += ('timezone', 'team_role',)
UserAdmin.fieldsets += ('timezone', 'team_role',)

admin.site.register(User, UserAdmin)
admin.site.register(Team, GroupAdmin)

0 comments on commit 64d7a3d

Please sign in to comment.