Fix solution path name
Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
This commit is contained in:
parent
a381b5583c
commit
424dee4aea
|
@ -748,7 +748,7 @@ class Participation(models.Model):
|
||||||
"<p>For the first round, you will defend "
|
"<p>For the first round, you will defend "
|
||||||
"<a href='{solution_url}'>your solution of the problem {problem}</a>.</p>")
|
"<a href='{solution_url}'>your solution of the problem {problem}</a>.</p>")
|
||||||
draw_url = reverse_lazy("draw:index")
|
draw_url = reverse_lazy("draw:index")
|
||||||
solution_url = reverse_lazy("participation:solution_detail", args=(defender_passage.defended_solution.pk,))
|
solution_url = reverse_lazy("solution", args=(defender_passage.defended_solution.pk,))
|
||||||
defender_content = format_lazy(defender_text, draw_url=draw_url,
|
defender_content = format_lazy(defender_text, draw_url=draw_url,
|
||||||
solution_url=solution_url, problem=defender_passage.solution_number)
|
solution_url=solution_url, problem=defender_passage.solution_number)
|
||||||
|
|
||||||
|
@ -780,7 +780,7 @@ class Participation(models.Model):
|
||||||
defender_text = _("<p>For the second round, you will defend "
|
defender_text = _("<p>For the second round, you will defend "
|
||||||
"<a href='{solution_url}'>your solution of the problem {problem}</a>.</p>")
|
"<a href='{solution_url}'>your solution of the problem {problem}</a>.</p>")
|
||||||
draw_url = reverse_lazy("draw:index")
|
draw_url = reverse_lazy("draw:index")
|
||||||
solution_url = reverse_lazy("participation:solution_detail", args=(defender_passage.defended_solution.pk,))
|
solution_url = reverse_lazy("solution", args=(defender_passage.defended_solution.pk,))
|
||||||
defender_content = format_lazy(defender_text, draw_url=draw_url,
|
defender_content = format_lazy(defender_text, draw_url=draw_url,
|
||||||
solution_url=solution_url, problem=defender_passage.solution_number)
|
solution_url=solution_url, problem=defender_passage.solution_number)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue