Remove duplicate Slot.save method.
Remove "save" method in Slot model since #107 added another "save" method. This fixes the automated test failures in Travis CI.
This commit is contained in:
		
							parent
							
								
									46a10b9e3a
								
							
						
					
					
						commit
						ddc3553656
					
				
					 1 changed files with 0 additions and 4 deletions
				
			
		|  | @ -90,10 +90,6 @@ class Slot(models.Model): | ||||||
|     content_override = models.TextField(blank=True, verbose_name=_("Content override")) |     content_override = models.TextField(blank=True, verbose_name=_("Content override")) | ||||||
|     content_override_html = models.TextField(blank=True) |     content_override_html = models.TextField(blank=True) | ||||||
| 
 | 
 | ||||||
|     def save(self, *args, **kwargs): |  | ||||||
|         self.content_override_html = parse(self.content_override) |  | ||||||
|         return super(Slot, self).save(*args, **kwargs) |  | ||||||
| 
 |  | ||||||
|     def assign(self, content): |     def assign(self, content): | ||||||
|         """ |         """ | ||||||
|         Assign the given content to this slot and if a previous slot content |         Assign the given content to this slot and if a previous slot content | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Martey Dodoo
						Martey Dodoo