ashb commented on a change in pull request #6223: [AIRFLOW-5578] Adding the 
ability to define custom IndexView
URL: https://github.com/apache/airflow/pull/6223#discussion_r343099973
 
 

 ##########
 File path: airflow/www/app.py
 ##########
 @@ -99,10 +99,19 @@ def create_app(config=None, session=None, testing=False, 
app_name="Airflow"):
                 """Your CUSTOM_SECURITY_MANAGER must now extend 
AirflowSecurityManager,
                  not FAB's security manager.""")
 
+        from airflow.www.blueprints import AirflowIndexView
+        from flask_appbuilder import IndexView
+        index_view_class = app.config.get('INDEX_VIEW_CLASS') or \
 
 Review comment:
   ```suggestion
           index_view_class = app.config.get('INDEX_VIEW_CLASS', 
AirflowIndexView)
   ```
   
   Will work I think..

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to