diff --git a/map/models.py b/map/models.py index ffa87f7..a4d21a1 100644 --- a/map/models.py +++ b/map/models.py @@ -22,6 +22,9 @@ class Friend(AbstractUser): return display_name + def __str__(self): + return self.get_display_name() + class FriendLocation(BaseModel): latitude = CoordinateField()