Hide id in commonsupply admin

This commit is contained in:
Gabriel Augendre 2019-06-15 11:22:21 +02:00
parent cb5837a0cf
commit e1b2e9dc25

View file

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