mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-14 23:02:19 +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"
|
account_api_update.short_description = "Update account from the EVE API"
|
||||||
|
|
||||||
class EVEAccountAdmin(admin.ModelAdmin):
|
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']
|
search_fields = ['id']
|
||||||
|
|
||||||
actions = [account_api_update]
|
actions = [account_api_update]
|
||||||
|
|||||||
Reference in New Issue
Block a user