From ae519cb943b80660bc77cd266d0e1a04bfccd60c Mon Sep 17 00:00:00 2001 From: Andrei Date: Tue, 28 Feb 2023 22:48:13 +0500 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=B8?= =?UTF-8?q?=D0=BB=20=D0=BF=D0=B5=D1=80=D0=B5=D0=BD=D0=B0=D0=BF=D1=80=D0=B0?= =?UTF-8?q?=D0=B2=D0=BB=D0=B5=D0=BD=D0=B8=D0=B5=20=D0=BF=D0=BE=D1=81=D0=BB?= =?UTF-8?q?=D0=B5=20=D0=B8=D0=B7=D0=BC=D0=B5=D0=BD=D0=B5=D0=BD=D0=B8=D1=8F?= =?UTF-8?q?=20=D0=B7=D0=B0=D0=B4=D0=B0=D1=87=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index efd8a3a..ad0ff90 100644 --- a/main.py +++ b/main.py @@ -84,7 +84,7 @@ def edit_quest(id_project, id_task): current_task.description = form.description.data if form.description.data else None current_task.deadline = deadline data_session.commit() - return redirect(f'/project/{str(current_project.id)}') + return redirect(f'/project/{str(current_project.id)}/quest/{str(current_task.id)}') return render_template('edit_task.html', title='Редактирование задачи', form=form, porject=current_project, task=current_task) else: