Allow editing order on admin list

This commit is contained in:
Gabriel Augendre 2019-06-15 11:24:47 +02:00
parent e1b2e9dc25
commit 6b125b6f0f

View file

@ -79,6 +79,7 @@ class EditorAdmin(admin.ModelAdmin):
class CommonSupplyAdmin(admin.ModelAdmin):
list_display = ['name', 'order']
list_display_links = ['name']
list_editable = ['order']
class SuppliesResource(resources.ModelResource):