Ejemplo n.º 1
0
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())
Ejemplo n.º 2
0
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())