Add description field to admin page.

reminder
Etzelia 2018-11-23 16:30:45 +01:00
parent 6e1063bb0e
commit d7a23cfcbc
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ class TokenAdmin(admin.ModelAdmin):
'model_post_permission', 'stats_get_permission', 'stats_post_permission') 'model_post_permission', 'stats_get_permission', 'stats_post_permission')
fieldsets = ( fieldsets = (
(None, { (None, {
'fields': ('key', 'active') 'fields': ('key', 'active', 'description')
}), }),
('Permissions', { ('Permissions', {
'fields': ('web_get_permission', 'web_post_permission', 'plugin_get_permission', 'plugin_post_permission', 'fields': ('web_get_permission', 'web_post_permission', 'plugin_get_permission', 'plugin_post_permission',