def resolveSolution(request): solution_id = int(request.POST['solution_id']) comment_content = request.POST['comment'] solution, comment = issue_services.resolve_existing_solution( solution_id, comment_content, request.user) ActionLog.log_resolve(solution=solution, issue_comment=comment) return redirect(solution.issue.get_view_link())
def resolveSolution(request): solution_id = int(request.POST['solution_id']) comment_content = request.POST['comment'] solution = issue_services.resolve_existing_solution(solution_id, comment_content, request.user) return redirect(solution.issue.get_view_link())
def resolveSolution(request): solution_id = int(request.POST["solution_id"]) comment_content = request.POST["comment"] solution, comment = issue_services.resolve_existing_solution(solution_id, comment_content, request.user) ActionLog.log_resolve(solution=solution, issue_comment=comment) return redirect(solution.issue.get_view_link())