Export jen verejnych soustredeni
This commit is contained in:
		
							parent
							
								
									944afc5974
								
							
						
					
					
						commit
						efea781049
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -17,7 +17,7 @@ class ExportIndexView(generic.View): | ||||||
|                 url = reverse('seminar_export_rocnik', kwargs={'prvni_rok': r.prvni_rok}) |                 url = reverse('seminar_export_rocnik', kwargs={'prvni_rok': r.prvni_rok}) | ||||||
|                 ls.append(url.split('/')[-1]) |                 ls.append(url.split('/')[-1]) | ||||||
|         for s in Soustredeni.objects.all(): |         for s in Soustredeni.objects.all(): | ||||||
|             if s.ucastnici.count() >= 1: |             if s.ucastnici.count() >= 1 and s.verejne: | ||||||
|                 url = reverse('seminar_export_sous', kwargs={'datum_zacatku': s.datum_zacatku.isoformat()}) |                 url = reverse('seminar_export_sous', kwargs={'datum_zacatku': s.datum_zacatku.isoformat()}) | ||||||
|                 ls.append(url.split('/')[-1]) |                 ls.append(url.split('/')[-1]) | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue
	
	 Tomas Gavenciak
						Tomas Gavenciak