From c507134523d1daa658d645de9e91f190817bc353 Mon Sep 17 00:00:00 2001 From: Andrea Callia D'Iddio <a.callia-diddio14@imperial.ac.uk> Date: Mon, 10 Oct 2022 17:21:04 +0000 Subject: [PATCH] Fix unspotted bug about a missing person object when using the project-form template. --- app/views/staff.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/staff.py b/app/views/staff.py index 51dd934..d7811e1 100644 --- a/app/views/staff.py +++ b/app/views/staff.py @@ -61,7 +61,7 @@ def create_project(): if project.on_behalf: shortlist_proposer(project) return redirect(url_for("staff.projects")) - return render_template("pages/project-form.html", form=form) + return render_template("pages/project-form.html", form=form, person=Person()) @bp.route("/projects/<project_id>/delete") -- GitLab