8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-24 20:33:11 +00:00

Define columns in admin

This commit is contained in:
Alexandre Iooss 2019-02-26 10:24:47 +01:00
parent 403fb85656
commit 31680830a8

View file

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