Add back in parsing the content override into html
This commit is contained in:
		
							parent
							
								
									6e83588f31
								
							
						
					
					
						commit
						a1cbcdddd5
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		|  | @ -149,6 +149,7 @@ class Slot(models.Model): | ||||||
|     def save(self, *args, **kwargs): |     def save(self, *args, **kwargs): | ||||||
|         roomlist = ' '.join(map(lambda r: r.__unicode__(), self.rooms)) |         roomlist = ' '.join(map(lambda r: r.__unicode__(), self.rooms)) | ||||||
|         self.name = "%s %s (%s - %s) %s" % (self.day, self.kind, self.start, self.end, roomlist) |         self.name = "%s %s (%s - %s) %s" % (self.day, self.kind, self.start, self.end, roomlist) | ||||||
|  |         self.content_override_html = parse(self.content_override) | ||||||
|         super(Slot, self).save(*args, **kwargs) |         super(Slot, self).save(*args, **kwargs) | ||||||
| 
 | 
 | ||||||
|     def __str__(self): |     def __str__(self): | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Patrick Altman
						Patrick Altman