Skip to content

Commit

Permalink
feat(backend): Display player character instead of name in game log
Browse files Browse the repository at this point in the history
  • Loading branch information
barnslig committed Jun 4, 2022
1 parent ca49db0 commit 46d9a32
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/dpt_app/trails/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -314,8 +314,8 @@ class Meta:
)

def __str__(self):
return _("Player {0} from game {1}").format(
self.name, self.game
return _("{0} from game {1}").format(
self.character or self.name, self.game
)


Expand Down

0 comments on commit 46d9a32

Please sign in to comment.