Razeni temat na strance s tematy
This commit is contained in:
parent
bba1249fc9
commit
18f97fcb77
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ def ZadaniTemataView(request):
|
||||||
nastaveni = get_object_or_404(Nastaveni)
|
nastaveni = get_object_or_404(Nastaveni)
|
||||||
return render(request, 'seminar/zadani/Temata.html',
|
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'),
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue