Improve user display in list
This commit is contained in:
parent
50219adbbb
commit
5916dafd12
1 changed files with 3 additions and 0 deletions
|
@ -22,6 +22,9 @@ class Friend(AbstractUser):
|
||||||
|
|
||||||
return display_name
|
return display_name
|
||||||
|
|
||||||
|
def __str__(self):
|
||||||
|
return self.get_display_name()
|
||||||
|
|
||||||
|
|
||||||
class FriendLocation(BaseModel):
|
class FriendLocation(BaseModel):
|
||||||
latitude = CoordinateField()
|
latitude = CoordinateField()
|
||||||
|
|
Loading…
Reference in a new issue