[SILO-783] feat: added porters and new serializer based exporter (#8335)

This commit is contained in:
Henit Chobisa 2025-12-16 15:20:53 +05:30 committed by GitHub
parent fc1c7fe235
commit e7974afd8b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 547 additions and 9 deletions

View file

@ -147,6 +147,11 @@ class User(AbstractBaseUser, PermissionsMixin):
return self.cover_image
return None
@property
def full_name(self):
"""Return user's full name (first + last)."""
return f"{self.first_name} {self.last_name}".strip()
def save(self, *args, **kwargs):
self.email = self.email.lower().strip()
self.mobile_number = self.mobile_number