|
|
@ -33,7 +33,7 @@ def ZadaniTemataView(request): |
|
|
|
nastaveni = get_object_or_404(Nastaveni) |
|
|
|
return render(request, 'seminar/zadani/Temata.html', |
|
|
|
{ |
|
|
|
'temata': Problem.objects.filter(typ=Problem.TYP_TEMA, stav=Problem.STAV_ZADANY, cislo_zadani__rocnik=nastaveni.aktualni_rocnik), |
|
|
|
'temata': Problem.objects.filter(typ=Problem.TYP_TEMA, stav=Problem.STAV_ZADANY, cislo_zadani__rocnik=nastaveni.aktualni_rocnik).order_by('kod'), |
|
|
|
} |
|
|
|
) |
|
|
|
|
|
|
|