mirror of
https://github.com/lemeow125/EquipmentTracker-Backend.git
synced 2024-11-17 06:09:26 +08:00
Show technician status in admin page
This commit is contained in:
parent
806be0157c
commit
0d2721434a
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue