Debug
This commit is contained in:
		
							parent
							
								
									8572264845
								
							
						
					
					
						commit
						94c219a65e
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		|  | @ -634,9 +634,11 @@ class ArchivView(generic.ListView): | ||||||
| 			# Výchozí nastavení | 			# Výchozí nastavení | ||||||
| 			if c.rocnik not in urls: | 			if c.rocnik not in urls: | ||||||
| 				urls[c.rocnik] = op.join(settings.STATIC_URL, "images", "no-picture.png") | 				urls[c.rocnik] = op.join(settings.STATIC_URL, "images", "no-picture.png") | ||||||
|  |                                 print(f'BAAAA: {c.rocnik} default') | ||||||
| 			# NOTE: tohle možná nastavuje poslední titulku | 			# NOTE: tohle možná nastavuje poslední titulku | ||||||
| 			if c.titulka_nahled: | 			if c.titulka_nahled: | ||||||
| 				urls[c.rocnik] = c.titulka_nahled.url | 				urls[c.rocnik] = c.titulka_nahled.url | ||||||
|  |                                 print(f'BAAAA: {c.rocnik} podle {c}') | ||||||
| 
 | 
 | ||||||
| 		context["object_list"] = urls | 		context["object_list"] = urls | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue
	
	 MaM Web user
						MaM Web user