From c5ed1a6d10fa90545977b006af28b04c2d2dda24 Mon Sep 17 00:00:00 2001 From: CodeWithHarry <48705673+CodeWithHarry@users.noreply.github.com> Date: Wed, 30 Sep 2020 18:51:35 +0530 Subject: [PATCH 1/2] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d2034a1..a534137 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,3 @@ -# Python-Flask-Blog +# Python3-Flask-Blog This is a flask based blog whose frontend is created using bootstrap. If you have any questions or suggestions, feel free to open an issue or pull request :) From b0205bf44ab35dcf54e16e795e3ca68a710584d3 Mon Sep 17 00:00:00 2001 From: Niteshpariharrr Date: Wed, 16 Jun 2021 15:54:17 +0530 Subject: [PATCH 2/2] Solve Cannot Import secure_filename from werkzeug problem --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 5dbd952..58fec78 100644 --- a/main.py +++ b/main.py @@ -1,6 +1,6 @@ from flask import Flask, render_template, request, session, redirect from flask_sqlalchemy import SQLAlchemy -from werkzeug import secure_filename +from werkzeug.utils import secure_filename from flask_mail import Mail import json import os