Airflow admin UI shows example dags

For those who are still looking for an answer, Airflow configuration file, aiflow.cfg has one line

load_example = True

It's good to get started, but you probably want to set this to FALSE and restart airflow by using airflow resetdb.


Apart from export path mentioned, airflow by default also creates a folder in your home directory when you run airflow initdb. Hence it will use config file from home directory, so in order to load your DAGs, delete airflow folder from home directory.