forked from Minecraft/minecraft_manager
Replace key with description on admin list page.
parent
d7a23cfcbc
commit
c16c480620
|
@ -22,7 +22,7 @@ class TokenActiveFilter(admin.SimpleListFilter):
|
|||
|
||||
class TokenAdmin(admin.ModelAdmin):
|
||||
list_filter = (TokenActiveFilter,)
|
||||
list_display = ('key', 'active', 'web_get_permission', 'web_post_permission', 'plugin_get_permission',
|
||||
list_display = ('description', 'active', 'web_get_permission', 'web_post_permission', 'plugin_get_permission',
|
||||
'plugin_post_permission', 'form_get_permission', 'form_post_permission', 'model_get_permission',
|
||||
'model_post_permission', 'stats_get_permission', 'stats_post_permission')
|
||||
fieldsets = (
|
||||
|
|
Loading…
Reference in New Issue