mirror of
				https://github.com/fspc/workstand.git
				synced 2025-10-31 00:15:35 -04:00 
			
		
		
		
	Add property.
This commit is contained in:
		
							parent
							
								
									c49fe5a176
								
							
						
					
					
						commit
						f8902152b8
					
				| @ -109,6 +109,10 @@ class Member(models.Model): | ||||
|     modified_at = models.DateTimeField(auto_now=True) | ||||
|     involvement = MultiSelectField(choices=involvement_choices, null=True, blank=True) | ||||
| 
 | ||||
|     @property | ||||
|     def full_name(self): | ||||
|         return self.get_full_name() | ||||
| 
 | ||||
|     def get_full_name(self): | ||||
|         # The user is identified by their email address | ||||
|         return '{0} {1}'.format(self.first_name, self.last_name) | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user