You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Xiaodong DENG (JIRA)" <ji...@apache.org> on 2018/12/27 13:49:00 UTC

[jira] [Created] (AIRFLOW-3576) Remove unnecessray arg 'root' in url_for("airflow.delete", dag_id=dag.dag_id, root=root)

Xiaodong DENG created AIRFLOW-3576:
--------------------------------------

             Summary: Remove unnecessray arg 'root' in url_for("airflow.delete", dag_id=dag.dag_id, root=root)
                 Key: AIRFLOW-3576
                 URL: https://issues.apache.org/jira/browse/AIRFLOW-3576
             Project: Apache Airflow
          Issue Type: Improvement
            Reporter: Xiaodong DENG


In airflow/www/templates/airflow/dag.html or airflow/www_rbac/templates/airflow/dag.html, in line *<a href="{{ url_for("airflow.delete", dag_id=dag.dag_id, root=root) }}**"*, *root* is not necessary, given it's not used anywhere in the '/delete' method in either *airflow/www/views.py* or *airflow/www_rbac/views.py*.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)