Allow editing order on admin list
This commit is contained in:
parent
e1b2e9dc25
commit
6b125b6f0f
1 changed files with 1 additions and 0 deletions
|
@ -79,6 +79,7 @@ class EditorAdmin(admin.ModelAdmin):
|
||||||
class CommonSupplyAdmin(admin.ModelAdmin):
|
class CommonSupplyAdmin(admin.ModelAdmin):
|
||||||
list_display = ['name', 'order']
|
list_display = ['name', 'order']
|
||||||
list_display_links = ['name']
|
list_display_links = ['name']
|
||||||
|
list_editable = ['order']
|
||||||
|
|
||||||
|
|
||||||
class SuppliesResource(resources.ModelResource):
|
class SuppliesResource(resources.ModelResource):
|
||||||
|
|
Loading…
Reference in a new issue