From 970b780edd604a9d7eeefa43a4fb2f092e0a64c6 Mon Sep 17 00:00:00 2001
From: Steven Woods <steve@stevengwoods.com>
Date: Tue, 17 Jan 2017 14:55:16 -0500
Subject: [PATCH] update CSRFProtect in extensions

FlaskWTFDeprecationWarning: "flask_wtf.CsrfProtect" has been renamed to "CSRFProtect" and will be removed in 1.0.
---
 .../{{cookiecutter.app_name}}/extensions.py                   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/{{cookiecutter.app_name}}/{{cookiecutter.app_name}}/extensions.py b/{{cookiecutter.app_name}}/{{cookiecutter.app_name}}/extensions.py
index cd6f0f8b..7e4793d8 100644
--- a/{{cookiecutter.app_name}}/{{cookiecutter.app_name}}/extensions.py
+++ b/{{cookiecutter.app_name}}/{{cookiecutter.app_name}}/extensions.py
@@ -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()
-- 
GitLab