Add description field to admin page.
parent
6e1063bb0e
commit
d7a23cfcbc
|
@ -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',
|
||||
|
|
Loading…
Reference in New Issue