diff --git a/src/character/models/capabilities.py b/src/character/models/capabilities.py index b592551..1bc0eea 100644 --- a/src/character/models/capabilities.py +++ b/src/character/models/capabilities.py @@ -94,7 +94,7 @@ class Capability(DocumentedModel, UniquelyNamedModel, TimeStampedModel, models.M verbose_name_plural = "Capacités" def __str__(self): - description = f"{self.name} - {self.path.name}" + description = f"{self.name} - {self.path.display_name} rang {self.rank}" if self.path.related_to: description += f" ({self.path.related_to.name})" return description