mirror of
https://github.com/lemeow125/Borrowing-TrackerBackend.git
synced 2024-11-16 22:09:27 +08:00
add section to admin panel
This commit is contained in:
parent
e8a30537c8
commit
142daa8828
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ class CustomUserAdmin(UserAdmin):
|
||||||
list_display = UserAdmin.list_display + \
|
list_display = UserAdmin.list_display + \
|
||||||
('is_technician', 'is_teacher', 'id')
|
('is_technician', 'is_teacher', 'id')
|
||||||
fieldsets = UserAdmin.fieldsets + (
|
fieldsets = UserAdmin.fieldsets + (
|
||||||
(None, {'fields': ('is_technician', 'is_teacher', 'course')}),
|
(None, {'fields': ('is_technician', 'is_teacher', 'course', 'section')}),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue