Skip to content

Commit

Permalink
fix(memberships): fix table w/o user identifier
Browse files Browse the repository at this point in the history
  • Loading branch information
thejoeejoee committed Dec 20, 2023
1 parent 3fa71c8 commit 9fc5acb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fiesta/apps/accounts/models/user.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def full_name(self):

@property
def full_name_official(self):
return f"{self.last_name} {self.first_name}".strip()
return f"{self.last_name} {self.first_name}".strip() or self.username

class Meta(AbstractUser.Meta):
verbose_name = _("user")
Expand Down

0 comments on commit 9fc5acb

Please sign in to comment.