mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-14 06:42:16 +00:00
Revert "Remove roleid from the role object, use the id field instead"
This reverts commit ff5addf94f.
This commit is contained in:
@@ -27,8 +27,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