mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-14 06:42:16 +00:00
Added column searching for Roles
This commit is contained in:
@@ -26,8 +26,8 @@ class EVEPlayerCharacterAdmin(admin.ModelAdmin):
|
||||
admin.site.register(EVEPlayerCharacter, EVEPlayerCharacterAdmin)
|
||||
|
||||
class EVEPlayerCharacterRoleAdmin(admin.ModelAdmin):
|
||||
list_display = ('id', 'name')
|
||||
search_fields = ['id', 'name']
|
||||
list_display = ('id', 'roleid', 'name')
|
||||
search_fields = ['roleid', 'name']
|
||||
admin.site.register(EVEPlayerCharacterRole, EVEPlayerCharacterRoleAdmin)
|
||||
|
||||
class EVEPlayerCorporationInline(admin.TabularInline):
|
||||
|
||||
Reference in New Issue
Block a user