Hide id in commonsupply admin
This commit is contained in:
parent
cb5837a0cf
commit
e1b2e9dc25
1 changed files with 2 additions and 2 deletions
|
@ -77,8 +77,8 @@ class EditorAdmin(admin.ModelAdmin):
|
||||||
|
|
||||||
@admin.register(CommonSupply)
|
@admin.register(CommonSupply)
|
||||||
class CommonSupplyAdmin(admin.ModelAdmin):
|
class CommonSupplyAdmin(admin.ModelAdmin):
|
||||||
list_display = ['id', 'name', 'order']
|
list_display = ['name', 'order']
|
||||||
list_display_links = ['id', 'name']
|
list_display_links = ['name']
|
||||||
|
|
||||||
|
|
||||||
class SuppliesResource(resources.ModelResource):
|
class SuppliesResource(resources.ModelResource):
|
||||||
|
|
Loading…
Reference in a new issue