From d7a23cfcbcd05ee0a53e778270c35fba9d4bf8d9 Mon Sep 17 00:00:00 2001 From: Etzelia Date: Fri, 23 Nov 2018 16:30:45 +0100 Subject: [PATCH] Add description field to admin page. --- api/admin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/admin.py b/api/admin.py index 99044c7..7c3bec2 100644 --- a/api/admin.py +++ b/api/admin.py @@ -27,7 +27,7 @@ class TokenAdmin(admin.ModelAdmin): 'model_post_permission', 'stats_get_permission', 'stats_post_permission') fieldsets = ( (None, { - 'fields': ('key', 'active') + 'fields': ('key', 'active', 'description') }), ('Permissions', { 'fields': ('web_get_permission', 'web_post_permission', 'plugin_get_permission', 'plugin_post_permission',