Skip to content
This repository has been archived by the owner on Aug 7, 2024. It is now read-only.

Commit

Permalink
Fix owner naming on the Avatar Data admin page (#841)
Browse files Browse the repository at this point in the history
* Use obj.owner instead of obj.owner.first_name
  • Loading branch information
mrniket authored Oct 8, 2018
1 parent f3c320b commit f188996
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aimmo/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class AvatarDataAdmin(admin.ModelAdmin):
list_display = ['id', 'game_identifier', 'game_name', 'owner_name']

def owner_name(self, obj):
return obj.owner.first_name
return obj.owner

def game_name(self, obj):
return obj.game.name
Expand Down

0 comments on commit f188996

Please sign in to comment.