def uploaded_file(filename): P = models.Projects.query.all() flash("Thank you for uploading %s. " % filename) uform = upload_form() return render_template("upload_another_file.html", form=uform, P=P)
def send_me_index(): P = models.Projects.query.all() uform = upload_form() return render_template("upload_file.html", form=uform, P=P)