Merge branch 'data_migrations' of gimli.ms.mff.cuni.cz:/akce/mam/git/mamweb into data_migrations
This commit is contained in:
		
						commit
						3793efdab7
					
				
					 2 changed files with 2 additions and 2 deletions
				
			
		|  | @ -21,7 +21,7 @@ | ||||||
| 	{% endif %} | 	{% endif %} | ||||||
| 	{% if ac.datum_preddeadline %} | 	{% if ac.datum_preddeadline %} | ||||||
|        		<div class="zadani_azad_termin"> |        		<div class="zadani_azad_termin"> | ||||||
| 			Termín odeslání {{ac.poradi}}. série pro otištění v dlaším čísle: | 			Termín odeslání {{ac.poradi}}. série pro otištění v dalším čísle: | ||||||
| 			{{ac.datum_preddeadline}} | 			{{ac.datum_preddeadline}} | ||||||
| 		</div> | 		</div> | ||||||
| 	{% endif %} | 	{% endif %} | ||||||
|  |  | ||||||
|  | @ -1382,7 +1382,7 @@ class ClankyResitelView(generic.ListView): | ||||||
| 
 | 
 | ||||||
| 	# FIXME: QuerySet není pole! | 	# FIXME: QuerySet není pole! | ||||||
| 	def get_queryset(self): | 	def get_queryset(self): | ||||||
| 		clanky = Clanek.objects.filter(stav=Problem.STAV_ZADANY).select_related('cislo__rocnik').order_by('-cislo__rocnik__rocnik') | 		clanky = Clanek.objects.filter(stav=Problem.STAV_VYRESENY).select_related('cislo__rocnik').order_by('-cislo__rocnik__rocnik') | ||||||
| 		queryset = [] | 		queryset = [] | ||||||
| 		skupiny_clanku = group_by_rocnik(clanky) | 		skupiny_clanku = group_by_rocnik(clanky) | ||||||
| 		for skupina in skupiny_clanku: | 		for skupina in skupiny_clanku: | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue