[ 
https://issues.apache.org/jira/browse/AIRFLOW-1231?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16018937#comment-16018937
 ] 

ASF subversion and git services commented on AIRFLOW-1231:
----------------------------------------------------------

Commit cac49e6eab6e107c838705f43418afcde5a82be4 in incubator-airflow's branch 
refs/heads/master from [~skudriashev]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-airflow.git;h=cac49e6 ]

[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


> Use flask_wtf.CSRFProtect instead of flask_wtf.CsrfProtect to remove 
> deprecation warning
> ----------------------------------------------------------------------------------------
>
>                 Key: AIRFLOW-1231
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-1231
>             Project: Apache Airflow
>          Issue Type: Improvement
>          Components: core
>    Affects Versions: Airflow 1.8
>            Reporter: Stanislav Kudriashev
>            Assignee: Stanislav Kudriashev
>            Priority: Minor
>             Fix For: 1.9.0
>
>
> Use flask_wtf.CSRFProtect instead of flask_wtf.CsrfProtect.
> {code}
> ...app.py:23: FlaskWTFDeprecationWarning: "flask_wtf.CsrfProtect" has been 
> renamed to "CSRFProtect" and will be removed in 1.0.
>   csrf = CsrfProtect()
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to