readable str for messages
Signed-off-by: Nico Schottelius <nico@freiheit.schottelius.org>
This commit is contained in:
		
					parent
					
						
							
								f893607fee
							
						
					
				
			
			
				commit
				
					
						6bb80d117c
					
				
			
		
					 1 changed files with 3 additions and 0 deletions
				
			
		|  | @ -9,3 +9,6 @@ class Message(models.Model): | |||
|     message = models.TextField() | ||||
| 
 | ||||
|     received_date = models.DateTimeField('date received') | ||||
| 
 | ||||
|     def __str__(self): | ||||
|         return "%s - %s - %s" % (self.name, self.email, self.received_date) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue