Use full_name property of User

This commit is contained in:
richard-dds
2018-08-06 16:26:47 -04:00
parent 83c1cc8584
commit e9cf732798
2 changed files with 5 additions and 1 deletions

View File

@@ -24,3 +24,7 @@ class User(Base):
@property
def atat_permissions(self):
return self.atat_role.permissions
@property
def full_name(self):
return "{} {}".format(self.first_name, self.last_name)