Revert "Remove roleid from the role object, use the id field instead"

This reverts commit ff5addf94f.
This commit is contained in:
2010-11-05 17:49:31 +00:00
parent 1b8c6a7da9
commit 4a41a28c6a
4 changed files with 3 additions and 267 deletions

View File

@@ -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):