From 31680830a84aeceda16cc2581694da193c8d6c64 Mon Sep 17 00:00:00 2001 From: Alexandre Iooss Date: Tue, 26 Feb 2019 10:24:47 +0100 Subject: [PATCH] Define columns in admin --- users/admin.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/users/admin.py b/users/admin.py index 98b949b2..f9877704 100644 --- a/users/admin.py +++ b/users/admin.py @@ -87,7 +87,7 @@ class LdapServiceUserGroupAdmin(admin.ModelAdmin): class SchoolAdmin(VersionAdmin): """Administration, gestion des écoles""" - pass + list_display = ('name',) class ListRightAdmin(VersionAdmin): @@ -98,7 +98,7 @@ class ListRightAdmin(VersionAdmin): class ListShellAdmin(VersionAdmin): """Gestion de la liste des shells coté admin""" - pass + list_display = ('shell',) class RequestAdmin(admin.ModelAdmin):