Repository: incubator-airflow Updated Branches: refs/heads/master 6ffaaf2d2 -> cac49e6ea
[AIRFLOW-1231] Use flask_wtf.CSRFProtect Use `flask_wtf.CSRFProtect` instead of `flask_wtf.CsrfProtect` to remove deprecation warning. Closes #2313 from skudriashev/airflow-1231 Project: http://git-wip-us.apache.org/repos/asf/incubator-airflow/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-airflow/commit/cac49e6e Tree: http://git-wip-us.apache.org/repos/asf/incubator-airflow/tree/cac49e6e Diff: http://git-wip-us.apache.org/repos/asf/incubator-airflow/diff/cac49e6e Branch: refs/heads/master Commit: cac49e6eab6e107c838705f43418afcde5a82be4 Parents: 6ffaaf2 Author: Stanislav Kudriashev <[email protected]> Authored: Sun May 21 20:25:18 2017 +0200 Committer: Bolke de Bruin <[email protected]> Committed: Sun May 21 20:25:18 2017 +0200 ---------------------------------------------------------------------- airflow/www/app.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/cac49e6e/airflow/www/app.py ---------------------------------------------------------------------- diff --git a/airflow/www/app.py b/airflow/www/app.py index be3a7b8..80e9b87 100644 --- a/airflow/www/app.py +++ b/airflow/www/app.py @@ -19,8 +19,8 @@ import six from flask import Flask from flask_admin import Admin, base from flask_cache import Cache -from flask_wtf.csrf import CsrfProtect -csrf = CsrfProtect() +from flask_wtf.csrf import CSRFProtect +csrf = CSRFProtect() import airflow from airflow import models
