From 34a586d1f47232116150f08361c1ceb96997f3dd Mon Sep 17 00:00:00 2001 From: Claude Paroz Date: Thu, 7 Feb 2019 09:47:44 +0100 Subject: [PATCH] Adapter teacher admin pour afficher compte utilisateur --- stages/admin.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/stages/admin.py b/stages/admin.py index 09afb7c..90592aa 100644 --- a/stages/admin.py +++ b/stages/admin.py @@ -86,7 +86,8 @@ class TeacherAdmin(admin.ModelAdmin): fields = (('civility', 'last_name', 'first_name', 'abrev'), ('birth_date', 'email', 'ext_id'), ('contract', 'rate', 'archived'), - ('previous_report', 'next_report', 'total_logbook')) + ('previous_report', 'next_report', 'total_logbook'), + ('user')) readonly_fields = ('total_logbook',) actions = [print_charge_sheet] inlines = [LogBookInline]