From 0d2721434a88d9419f1b033bb2b1046a597f8381 Mon Sep 17 00:00:00 2001 From: Keannu Bernasol Date: Mon, 13 Nov 2023 18:49:30 +0800 Subject: [PATCH] Show technician status in admin page --- equipment_tracker/accounts/admin.py | 1 + 1 file changed, 1 insertion(+) diff --git a/equipment_tracker/accounts/admin.py b/equipment_tracker/accounts/admin.py index 81a42c3..15220f8 100644 --- a/equipment_tracker/accounts/admin.py +++ b/equipment_tracker/accounts/admin.py @@ -6,6 +6,7 @@ from .models import CustomUser class CustomUserAdmin(UserAdmin): model = CustomUser + list_display = UserAdmin.list_display + ('is_technician',) admin.site.register(CustomUser, CustomUserAdmin)