img_indexes
This commit is contained in:
		
							parent
							
								
									c4679fe261
								
							
						
					
					
						commit
						96b9f63295
					
				
					 2 changed files with 2 additions and 2 deletions
				
			
		|  | @ -1,4 +1,4 @@ | |||
| {% for i in img_indexes %} | ||||
| {% for i in indexy_stran %} | ||||
|   <div class='imgdiv'> | ||||
|     <img | ||||
|       id='img-{{i}}' | ||||
|  |  | |||
|  | @ -53,7 +53,7 @@ class KorekturyView(generic.DetailView): | |||
| 
 | ||||
| 	def get_context_data(self, **kwargs): | ||||
| 		context = super().get_context_data(**kwargs) | ||||
| 		context['img_indexes'] = range(self.object.stran) | ||||
| 		context['indexy_stran'] = range(self.object.stran) | ||||
| 		context['tagy'] = KorekturaTag.objects.all() | ||||
| 		return context | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue