Fix url reverse v exportu
This commit is contained in:
		
							parent
							
								
									ab7878393f
								
							
						
					
					
						commit
						0ec8141b54
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -13,7 +13,7 @@ class ExportIndexView(generic.base.TemplateView): | |||
|         context['exports'] = [] | ||||
|         for r in Rocnik.objects.all(): | ||||
|             if r.verejna_cisla(): | ||||
|                 url = reverse('seminar:export_rocnik', kwargs={'prvni_rok': r.prvni_rok}) | ||||
|                 url = reverse('seminar_export_rocnik', kwargs={'prvni_rok': r.prvni_rok}) | ||||
|                 context['exports'].append(url.split('/')[-1]) | ||||
|         return context | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue
	
	 Tomas Gavenciak
						Tomas Gavenciak