markov: have context in target's __unicode__()
This commit is contained in:
		
							parent
							
								
									2dc2b6a8a2
								
							
						
					
					
						commit
						4a092ec603
					
				| @ -35,7 +35,7 @@ class MarkovTarget(models.Model): | ||||
|     def __unicode__(self): | ||||
|         """String representation.""" | ||||
| 
 | ||||
|         return u"{0:s}".format(self.name) | ||||
|         return u"{0:s} -> {1:s}".format(self.name, self.context.name) | ||||
| 
 | ||||
| 
 | ||||
| class MarkovState(models.Model): | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user