Skip to content
Snippets Groups Projects
Commit 970b780e authored by Steven Woods's avatar Steven Woods Committed by GitHub
Browse files

update CSRFProtect in extensions

FlaskWTFDeprecationWarning: "flask_wtf.CsrfProtect" has been renamed to "CSRFProtect" and will be removed in 1.0.
parent c0e6e8ce
No related branches found
No related tags found
No related merge requests found
......@@ -6,10 +6,10 @@ from flask_debugtoolbar import DebugToolbarExtension
from flask_login import LoginManager
from flask_migrate import Migrate
from flask_sqlalchemy import SQLAlchemy
from flask_wtf.csrf import CsrfProtect
from flask_wtf.csrf import CSRFProtect
bcrypt = Bcrypt()
csrf_protect = CsrfProtect()
csrf_protect = CSRFProtect()
login_manager = LoginManager()
db = SQLAlchemy()
migrate = Migrate()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment