Easy edition of level order in admin list
This commit is contained in:
parent
f2428c5fe3
commit
58da7b5f05
1 changed files with 3 additions and 1 deletions
|
@ -27,7 +27,9 @@ class TeacherAdmin(ExportMixin, admin.ModelAdmin):
|
|||
|
||||
@admin.register(Level)
|
||||
class LevelAdmin(admin.ModelAdmin):
|
||||
pass
|
||||
list_display = ['name', 'order']
|
||||
list_editable = ['order']
|
||||
list_display_links = ['name']
|
||||
|
||||
|
||||
class BookResource(resources.ModelResource):
|
||||
|
|
Loading…
Reference in a new issue