Skip to content

Commit

Permalink
Popravi napačen sklic
Browse files Browse the repository at this point in the history
Verjetno je vse skupaj posledica masovnega urejanja.
Closes #77
  • Loading branch information
matijapretnar committed Nov 24, 2022
1 parent 9ad8896 commit da19e12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nadlogar/problems/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def edit_problem(request, group_id: int, document_id: int, problem_id: int):
if form.is_valid():
problem: Problem = form.save()
return redirect(problem.document.get_absolute_url())
example_data = problem.problem.example_data()
example_data = problem.example_data()
default_text = problem.default_text().render(example_data)
return render(
request,
Expand Down

0 comments on commit da19e12

Please sign in to comment.