From e1b2e9dc25bdd28bffb041f356e631c51558ef32 Mon Sep 17 00:00:00 2001 From: Gabriel Augendre Date: Sat, 15 Jun 2019 11:22:21 +0200 Subject: [PATCH] Hide id in commonsupply admin --- manuels/admin.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/manuels/admin.py b/manuels/admin.py index d5d6f36..f0c2e93 100644 --- a/manuels/admin.py +++ b/manuels/admin.py @@ -77,8 +77,8 @@ class EditorAdmin(admin.ModelAdmin): @admin.register(CommonSupply) class CommonSupplyAdmin(admin.ModelAdmin): - list_display = ['id', 'name', 'order'] - list_display_links = ['id', 'name'] + list_display = ['name', 'order'] + list_display_links = ['name'] class SuppliesResource(resources.ModelResource):