fotogalerie | fotka stredni velikost 600
This commit is contained in:
		
							parent
							
								
									3d279490dc
								
							
						
					
					
						commit
						2e0bb4670a
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -104,7 +104,7 @@ class Obrazek(models.Model): | |||
|                               datum_int[3], datum_int[4], datum_int[5]) | ||||
|     jmeno = os.path.basename(self.obrazek_velky.file.name) | ||||
|     if not self.obrazek_stredni: | ||||
|       Obrazek._vyrobMiniaturu(original, jmeno, 500, self.obrazek_stredni) | ||||
|       Obrazek._vyrobMiniaturu(original, jmeno, 600, self.obrazek_stredni) | ||||
|     if not self.obrazek_maly: | ||||
|       Obrazek._vyrobMiniaturu(original, jmeno, 200, self.obrazek_maly) | ||||
|     super(Obrazek, self).save() | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue
	
	 Bc. Petr Pecha
						Bc. Petr Pecha