mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-14 06:42:16 +00:00
Add keytype to the admin overview
This commit is contained in:
@@ -13,7 +13,7 @@ def account_api_update(modeladmin, request, queryset):
|
||||
account_api_update.short_description = "Update account from the EVE API"
|
||||
|
||||
class EVEAccountAdmin(admin.ModelAdmin):
|
||||
list_display = ('id', 'user', 'api_status', 'api_last_updated')
|
||||
list_display = ('id', 'user', 'api_keytype', 'api_status', 'api_last_updated')
|
||||
search_fields = ['id']
|
||||
|
||||
actions = [account_api_update]
|
||||
|
||||
Reference in New Issue
Block a user