From 99820771347975330fc0657304e32c2c65ec71e0 Mon Sep 17 00:00:00 2001 From: William Di Luigi Date: Fri, 1 Dec 2023 23:50:25 +0100 Subject: [PATCH] Admin - Show user.is_verified and creted_at --- teams/admin.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/teams/admin.py b/teams/admin.py index 6311b78..6914587 100644 --- a/teams/admin.py +++ b/teams/admin.py @@ -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',) @@ -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',)