mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-13 14:22:16 +00:00
Move action to correct AdminModel
This commit is contained in:
@@ -32,12 +32,13 @@ admin.site.register(EVEAccount, EVEAccountAdmin)
|
||||
class EVEPlayerCharacterAdmin(admin.ModelAdmin):
|
||||
list_display = ('id', 'name', 'corporation')
|
||||
search_fields = ['id', 'name']
|
||||
actions = [char_api_update]
|
||||
|
||||
admin.site.register(EVEPlayerCharacter, EVEPlayerCharacterAdmin)
|
||||
|
||||
class EVEPlayerCharacterRoleAdmin(admin.ModelAdmin):
|
||||
list_display = ('id', 'roleid', 'name')
|
||||
search_fields = ['roleid', 'name']
|
||||
actions = [char_api_update]
|
||||
|
||||
admin.site.register(EVEPlayerCharacterRole, EVEPlayerCharacterRoleAdmin)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user