Kopírování je častým zdrojem...
This commit is contained in:
parent
fd754394c2
commit
f07db53c27
1 changed files with 1 additions and 1 deletions
|
@ -85,7 +85,7 @@ class ReseniProblemuView(ListView):
|
||||||
raise ValueError("Nemám problém! (To je problém!)")
|
raise ValueError("Nemám problém! (To je problém!)")
|
||||||
|
|
||||||
resitel = m.Resitel.objects.get(id=resitel_id)
|
resitel = m.Resitel.objects.get(id=resitel_id)
|
||||||
problem = m.Resitel.objects.get(id=problem_id)
|
problem = m.Problem.objects.get(id=problem_id)
|
||||||
qs = qs.filter(
|
qs = qs.filter(
|
||||||
problem__in=[problem],
|
problem__in=[problem],
|
||||||
resitele__in=[resitel],
|
resitele__in=[resitel],
|
||||||
|
|
Loading…
Reference in a new issue