From c16c4806207ac310a36c693148ccbad65a94d832 Mon Sep 17 00:00:00 2001 From: Etzelia Date: Fri, 23 Nov 2018 16:33:06 +0100 Subject: [PATCH] Replace key with description on admin list page. --- api/admin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/admin.py b/api/admin.py index 7c3bec2..ac7579f 100644 --- a/api/admin.py +++ b/api/admin.py @@ -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 = (