V aktualnim zadani zobraz jenom zadane ulohy
This commit is contained in:
		
							parent
							
								
									6c6417b23f
								
							
						
					
					
						commit
						f6c5c11a14
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -14,7 +14,7 @@ from . import utils | |||
| 
 | ||||
| def AktualniZadaniView(request): | ||||
|     nastaveni = get_object_or_404(Nastaveni) | ||||
|     problemy = Problem.objects.filter(cislo_zadani=nastaveni.aktualni_cislo) | ||||
|     problemy = Problem.objects.filter(cislo_zadani=nastaveni.aktualni_cislo).filter(stav = 'zadany') | ||||
|     ulohy = problemy.filter(typ = 'uloha') | ||||
|     temata = problemy.filter(typ = 'tema') | ||||
|     serialy = problemy.filter(typ = 'serial') | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue
	
	 Bc. Petr Pecha
						Bc. Petr Pecha