From 0fc98ede20bf63d1b34a8ce1c3eb1c12cf9031cb Mon Sep 17 00:00:00 2001 From: Keannu Bernasol Date: Tue, 27 Jun 2023 00:10:14 +0800 Subject: [PATCH] Polish further admin panel for user --- stude/accounts/admin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stude/accounts/admin.py b/stude/accounts/admin.py index 81a8c48..80e6f3c 100644 --- a/stude/accounts/admin.py +++ b/stude/accounts/admin.py @@ -8,7 +8,7 @@ class CustomUserAdmin(UserAdmin): fieldsets = UserAdmin.fieldsets + ( (None, {'fields': ('student_id_number', - 'year_level', 'semester', 'avatar', 'is_banned')}), + 'year_level', 'semester', 'avatar', 'is_student', 'is_banned')}), )