Show technician status in admin page

This commit is contained in:
Keannu Bernasol 2023-11-13 18:49:30 +08:00
parent 806be0157c
commit 0d2721434a

View file

@ -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)