Skip to content

Commit

Permalink
Admin - Show user.is_verified and creted_at
Browse files Browse the repository at this point in the history
  • Loading branch information
wil93 committed Dec 1, 2023
1 parent d7c8223 commit 9982077
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions teams/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def students(self, obj):

@admin.register(User)
class UserAdmin(admin.ModelAdmin):
list_display = ('full_name', 'university', 'team')
list_display = ('full_name', 'university', 'team', 'is_verified', 'created_at')

list_filter = ('university',)

Expand All @@ -27,7 +27,7 @@ class UserAdmin(admin.ModelAdmin):


@admin.register(Team)
class UserAdmin(admin.ModelAdmin):
class TeamAdmin(admin.ModelAdmin):
list_display = ('name', 'university', 'students')

list_filter = ('university',)
Expand Down

0 comments on commit 9982077

Please sign in to comment.