8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-28 15:42:25 +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): class SchoolAdmin(VersionAdmin):
"""Administration, gestion des écoles""" """Administration, gestion des écoles"""
pass list_display = ('name',)
class ListRightAdmin(VersionAdmin): class ListRightAdmin(VersionAdmin):
@ -98,7 +98,7 @@ class ListRightAdmin(VersionAdmin):
class ListShellAdmin(VersionAdmin): class ListShellAdmin(VersionAdmin):
"""Gestion de la liste des shells coté admin""" """Gestion de la liste des shells coté admin"""
pass list_display = ('shell',)
class RequestAdmin(admin.ModelAdmin): class RequestAdmin(admin.ModelAdmin):