From f188996102b5bd374d4a7b156667dde21514d0e9 Mon Sep 17 00:00:00 2001 From: Niket Shah Date: Mon, 8 Oct 2018 12:03:17 +0100 Subject: [PATCH] Fix owner naming on the Avatar Data admin page (#841) * Use obj.owner instead of obj.owner.first_name --- aimmo/admin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aimmo/admin.py b/aimmo/admin.py index d75ca918b..91387a6b2 100644 --- a/aimmo/admin.py +++ b/aimmo/admin.py @@ -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