def previous_phase(request, p_id): manager = request.user.userprofile if ManagerRegister.previous_phase(manager, p_id): return redirect(index_selected, p_id, 'panel1') print("Fail")
def previous_phase(request, p_id): manager = request.user.userprofile if ManagerRegister.previous_phase(manager, p_id): return redirect(index_selected, p_id, 'panel1') print("Fail")