|
@ -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], |
|
|